Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001183, allocations: 91.3 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0078/0.0078, allocations: 171.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004263/0.0004263, allocations: 9.406 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.363, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01929/0.3823, allocations: 16.51 MB / 1.09 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01034/0.3927, allocations: 5.807 MB / 1.096 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.3943, allocations: 43.88 kB / 1.096 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009751/0.3953, allocations: 321.7 kB / 1.096 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.3975, allocations: 0.7786 MB / 1.097 GB, free: 16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.3999, allocations: 0.8807 MB / 1.098 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006904/0.4068, allocations: 6.494 MB / 1.104 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01276/0.4196, allocations: 7.942 MB / 1.112 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002885/0.4225, allocations: 1.284 MB / 1.113 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003543/0.4261, allocations: 1.928 MB / 1.115 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004293/0.4265, allocations: 192 kB / 1.115 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.4281, allocations: 0.7254 MB / 1.116 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001579/0.4297, allocations: 1.388 MB / 1.117 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00194/0.4317, allocations: 1.405 MB / 1.119 GB, free: 9.629 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006979/0.4387, allocations: 6.048 MB / 1.125 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.4387, allocations: 0 / 1.125 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.307e-06/0.4387, allocations: 0 / 1.125 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002281/0.439, allocations: 0 / 1.125 GB, free: 3.562 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 803 * Number of variables: 803 Notification: Performance of Generate backend data structure: time 0.007025/0.446, allocations: 2.496 MB / 1.127 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.4461, allocations: 8.031 kB / 1.127 GB, free: 1 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005638/0.4517, allocations: 1.133 MB / 1.128 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003391/0.4551, allocations: 1.604 MB / 1.13 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.4553, allocations: 226.4 kB / 1.13 GB, free: 14 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006406/0.456, allocations: 288.3 kB / 1.13 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.4663, allocations: 5.308 MB / 1.135 GB, free: 8.309 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.525e-05/0.4664, allocations: 0 / 1.135 GB, free: 8.309 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003572/0.4668, allocations: 128 kB / 1.136 GB, free: 8.184 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002602/0.467, allocations: 213 kB / 1.136 GB, free: 7.973 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008689/0.4757, allocations: 4.77 MB / 1.14 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03353/0.5093, allocations: 23.2 MB / 1.163 GB, free: 9.742 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004898/0.5143, allocations: 3.195 MB / 1.166 GB, free: 6.27 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.5157, allocations: 0.9095 MB / 1.167 GB, free: 5.34 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.5159, allocations: 105.7 kB / 1.167 GB, free: 5.215 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.516, allocations: 55.14 kB / 1.167 GB, free: 5.152 MB / 0.92 GB Notification: Performance of pre-optimization done (n=82): time 2.765e-06/0.516, allocations: 0 / 1.167 GB, free: 5.152 MB / 0.92 GB Notification: Performance of matching and sorting (n=82): time 0.003562/0.5196, allocations: 2.089 MB / 1.169 GB, free: 3.059 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.5197, allocations: 222.6 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.5216, allocations: 1.094 MB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.759e-05/0.5217, allocations: 41.7 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009481/0.5227, allocations: 1.281 MB / 1.172 GB, free: 344 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000333/0.523, allocations: 303.9 kB / 1.172 GB, free: 36 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.5233, allocations: 125.7 kB / 1.172 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5234, allocations: 349.8 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.5249, allocations: 0.89 MB / 1.173 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/0.5267, allocations: 1.511 MB / 1.175 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003154/0.5299, allocations: 2.373 MB / 1.177 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-05/0.53, allocations: 4 kB / 1.177 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004293/0.5343, allocations: 2.5 MB / 1.18 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005504/0.5348, allocations: 0.6435 MB / 1.18 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-05/0.5349, allocations: 20 kB / 1.18 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.427e-05/0.535, allocations: 31.94 kB / 1.18 GB, free: 6.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/0.5367, allocations: 471.1 kB / 1.181 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-05/0.5368, allocations: 39.86 kB / 1.181 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/0.5387, allocations: 341.8 kB / 1.181 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001965/0.5389, allocations: 79.98 kB / 1.181 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.5389, allocations: 4 kB / 1.181 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003844/0.5427, allocations: 2.229 MB / 1.183 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.016e-05/0.5428, allocations: 20.78 kB / 1.183 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.388e-05/0.5429, allocations: 28 kB / 1.184 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.5444, allocations: 447.2 kB / 1.184 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.486e-05/0.5444, allocations: 39.86 kB / 1.184 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.5459, allocations: 250.6 kB / 1.184 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/0.5461, allocations: 79.98 kB / 1.184 GB, free: 2.777 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (197): * Single equations (assignments): 197 * 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.002502/0.5486, allocations: 1.283 MB / 1.186 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000383/0.549, allocations: 102.7 kB / 1.186 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/0.5519, allocations: 1.564 MB / 1.187 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.786e-05/0.5519, allocations: 8 kB / 1.187 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.5519, allocations: 4 kB / 1.187 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.5519, allocations: 7.969 kB / 1.187 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008573/0.5605, allocations: 4.513 MB / 1.192 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/0.5606, allocations: 4 kB / 1.192 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.5616, allocations: 243.6 kB / 1.192 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.565e-05/0.5617, allocations: 4 kB / 1.192 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-05/0.5617, allocations: 23.98 kB / 1.192 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/0.5618, allocations: 8 kB / 1.192 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5618, allocations: 4 kB / 1.192 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002491/0.5643, allocations: 1.923 MB / 1.194 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000694/0.565, allocations: 359.6 kB / 1.194 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002738/0.5653, allocations: 12 kB / 1.194 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001054/0.5663, allocations: 123.8 kB / 1.194 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.5665, allocations: 56.53 kB / 1.194 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.297e-05/0.5665, allocations: 24 kB / 1.194 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001371/0.5679, allocations: 0.7995 MB / 1.195 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5679, allocations: 0 / 1.195 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.004272/0.5722, allocations: 1.298 MB / 1.196 GB, free: 6.238 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (85): * Single equations (assignments): 85 * 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.0002592/0.5725, allocations: 123.1 kB / 1.196 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004933/0.5774, allocations: 2.993 MB / 1.199 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5775, allocations: 2 kB / 1.199 GB, free: 3.121 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009751/0.5784, allocations: 0.6675 MB / 1.2 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/0.5807, allocations: 186.3 kB / 1.2 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.592, allocations: 5.787 MB / 1.206 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003069/0.5951, allocations: 2.206 MB / 1.208 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002907/0.598, allocations: 1.093 MB / 1.209 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004441/0.5985, allocations: 95.41 kB / 1.209 GB, free: 9.004 MB / 0.9669 GB Notification: Performance of SimCode: time 1.002e-06/0.5985, allocations: 3.938 kB / 1.209 GB, free: 9 MB / 0.9669 GB Notification: Performance of Templates: time 0.03066/0.6291, allocations: 15.04 MB / 1.224 GB, free: 10.06 MB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)