Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 195.2 kB / 16.64 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 70.53 kB / 0.6723 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2824, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004528/0.287, allocations: 2.438 MB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.2894, allocations: 1.466 MB / 0.7879 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.2896, allocations: 3.938 kB / 0.7879 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000692/0.2903, allocations: 183.3 kB / 0.7881 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002913/0.2906, allocations: 119.5 kB / 0.7882 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.291, allocations: 183.5 kB / 0.7884 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.2913, allocations: 215.3 kB / 0.7886 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.2916, allocations: 117 kB / 0.7887 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.2918, allocations: 87.73 kB / 0.7888 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.292, allocations: 99.59 kB / 0.7889 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.292, allocations: 12 kB / 0.7889 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.2923, allocations: 191.6 kB / 0.7891 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.442e-05/0.2924, allocations: 67.81 kB / 0.7892 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.926e-05/0.2925, allocations: 75.61 kB / 0.7892 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.2929, allocations: 283.1 kB / 0.7895 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2929, allocations: 3.938 kB / 0.7895 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2929, allocations: 0 / 0.7895 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.708e-06/0.2929, allocations: 4 kB / 0.7895 GB, free: 7.184 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006923/0.2936, allocations: 475.1 kB / 0.79 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2936, allocations: 8.031 kB / 0.79 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005217/0.2942, allocations: 64.67 kB / 0.79 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.2944, allocations: 232 kB / 0.7903 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.2945, allocations: 12.64 kB / 0.7903 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.2945, allocations: 12.38 kB / 0.7903 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.2949, allocations: 283.6 kB / 0.7906 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.295, allocations: 0 / 0.7906 GB, free: 6 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.295, allocations: 15.92 kB / 0.7906 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/0.295, allocations: 20.22 kB / 0.7906 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003139/0.2954, allocations: 204.5 kB / 0.7908 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001676/0.297, allocations: 1.568 MB / 0.7923 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003945/0.2974, allocations: 327.2 kB / 0.7926 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.235e-05/0.2975, allocations: 61.69 kB / 0.7927 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.2976, allocations: 4 kB / 0.7927 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.2976, allocations: 38.56 kB / 0.7927 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.2976, allocations: 0 / 0.7927 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0005487/0.2982, allocations: 244.5 kB / 0.793 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.2982, allocations: 77.11 kB / 0.793 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.2984, allocations: 199.9 kB / 0.7932 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.2985, allocations: 29.7 kB / 0.7933 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.871e-05/0.2986, allocations: 151.8 kB / 0.7934 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.321e-05/0.2986, allocations: 43.56 kB / 0.7934 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.087e-05/0.2987, allocations: 49.7 kB / 0.7935 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2988, allocations: 330.8 kB / 0.7938 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.2989, allocations: 68.83 kB / 0.7939 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.2991, allocations: 163 kB / 0.794 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.2993, allocations: 226.9 kB / 0.7942 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.2994, allocations: 4 kB / 0.7942 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003947/0.2998, allocations: 265.1 kB / 0.7945 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2998, allocations: 4.938 kB / 0.7945 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2998, allocations: 4 kB / 0.7945 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.2998, allocations: 7.938 kB / 0.7945 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.3, allocations: 51.91 kB / 0.7946 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3001, allocations: 4.375 kB / 0.7946 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.3002, allocations: 19.98 kB / 0.7946 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.3002, allocations: 11.98 kB / 0.7946 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001601/0.3004, allocations: 160.2 kB / 0.7947 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000142/0.3005, allocations: 151.9 kB / 0.7949 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002279/0.3008, allocations: 223.8 kB / 0.7951 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.373e-06/0.3008, allocations: 0 / 0.7951 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003309/0.3011, allocations: 249 kB / 0.7953 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.675e-06/0.3011, allocations: 4 kB / 0.7953 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3011, allocations: 4 kB / 0.7954 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/0.3012, allocations: 4 kB / 0.7954 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.3013, allocations: 47.91 kB / 0.7954 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.3014, allocations: 12.28 kB / 0.7954 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.3015, allocations: 16 kB / 0.7954 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.3015, allocations: 12.03 kB / 0.7954 GB, free: 0.5469 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.3016, allocations: 196.1 kB / 0.7956 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/0.3017, allocations: 19.8 kB / 0.7956 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.3019, allocations: 139 kB / 0.7958 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3019, allocations: 7.875 kB / 0.7958 GB, free: 176 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3019, allocations: 4 kB / 0.7958 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.302, allocations: 3.984 kB / 0.7958 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008944/0.3029, allocations: 0.7198 MB / 0.7965 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3029, allocations: 0 / 0.7965 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.303, allocations: 31.92 kB / 0.7965 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.303, allocations: 4 kB / 0.7965 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.303, allocations: 4 kB / 0.7965 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.303, allocations: 0 / 0.7965 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.303, allocations: 11.92 kB / 0.7965 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.3033, allocations: 374.4 kB / 0.7969 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-05/0.3034, allocations: 104.9 kB / 0.797 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.3035, allocations: 8 kB / 0.797 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.3036, allocations: 7.984 kB / 0.797 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.3037, allocations: 19.92 kB / 0.797 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.3037, allocations: 4 kB / 0.797 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001273/0.3038, allocations: 153.4 kB / 0.7972 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3038, allocations: 7.938 kB / 0.7972 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004802/0.3043, allocations: 68 kB / 0.7973 GB, free: 14.52 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001558/0.3045, allocations: 107.1 kB / 0.7974 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004001/0.3049, allocations: 269 kB / 0.7976 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3049, allocations: 4 kB / 0.7976 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 7.721e-05/0.305, allocations: 55.84 kB / 0.7977 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.3055, allocations: 37.06 kB / 0.7977 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007104/0.3062, allocations: 423.2 kB / 0.7981 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.3065, allocations: 0.7402 MB / 0.7988 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000171/0.3067, allocations: 78.02 kB / 0.7989 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.71e-05/0.3068, allocations: 19.42 kB / 0.7989 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.3068, allocations: 0 / 0.7989 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of Templates: time 0.004566/0.3113, allocations: 1.75 MB / 0.8006 GB, free: 10.98 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1)