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.001527/0.001527, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001967/0.001967, allocations: 192.9 kB / 16.14 MB, free: 6.688 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.432/1.432, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.887/2.887, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 65.8 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3318, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.02029/0.3522, allocations: 17.09 MB / 1.084 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01269/0.3649, allocations: 5.865 MB / 1.09 GB, free: 3.883 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/0.367, allocations: 43.88 kB / 1.09 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003642/0.3707, allocations: 1.206 MB / 1.091 GB, free: 2.629 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.3731, allocations: 0.7824 MB / 1.092 GB, free: 1.844 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003427/0.3766, allocations: 1.238 MB / 1.093 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00693/0.3835, allocations: 6.495 MB / 1.099 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01264/0.3962, allocations: 7.615 MB / 1.107 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003417/0.3996, allocations: 1.605 MB / 1.108 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004268/0.4039, allocations: 2.345 MB / 1.111 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001371/0.4053, allocations: 320 kB / 1.111 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.408, allocations: 0.8503 MB / 1.112 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002933/0.411, allocations: 1.591 MB / 1.113 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.003806/0.4148, allocations: 1.618 MB / 1.115 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008341/0.4231, allocations: 6.275 MB / 1.121 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4232, allocations: 0 / 1.121 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4232, allocations: 4 kB / 1.121 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000252/0.4235, allocations: 0 / 1.121 GB, free: 3.742 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.009114/0.4326, allocations: 3.068 MB / 1.124 GB, free: 0.6133 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.4327, allocations: 12.03 kB / 1.124 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005173/0.4378, allocations: 1.109 MB / 1.125 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.4411, allocations: 1.616 MB / 1.127 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.4413, allocations: 222.4 kB / 1.127 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005657/0.4419, allocations: 296.3 kB / 1.127 GB, free: 13.32 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/0.452, allocations: 5.296 MB / 1.133 GB, free: 7.93 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-05/0.4521, allocations: 7.938 kB / 1.133 GB, free: 7.922 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003496/0.4525, allocations: 124 kB / 1.133 GB, free: 7.801 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002446/0.4527, allocations: 209.1 kB / 1.133 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009697/0.4624, allocations: 4.765 MB / 1.137 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0322/0.4947, allocations: 23.16 MB / 1.16 GB, free: 9.41 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005098/0.4998, allocations: 3.179 MB / 1.163 GB, free: 5.953 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.5013, allocations: 0.9306 MB / 1.164 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001942/0.5015, allocations: 109.7 kB / 1.164 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.228e-05/0.5016, allocations: 43.16 kB / 1.164 GB, free: 4.824 MB / 0.92 GB Notification: Performance of pre-optimization done (n=82): time 3.026e-06/0.5016, allocations: 0 / 1.164 GB, free: 4.824 MB / 0.92 GB Notification: Performance of matching and sorting (n=82): time 0.003523/0.5051, allocations: 2.077 MB / 1.166 GB, free: 2.742 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.5053, allocations: 218.3 kB / 1.166 GB, free: 2.477 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.5073, allocations: 1.095 MB / 1.168 GB, free: 1.371 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.179e-05/0.5074, allocations: 41.7 kB / 1.168 GB, free: 1.324 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.5084, allocations: 1.285 MB / 1.169 GB, free: 20 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000356/0.5088, allocations: 303.8 kB / 1.169 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006629/0.5095, allocations: 347.1 kB / 1.169 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.5097, allocations: 345.9 kB / 1.17 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.5111, allocations: 0.8947 MB / 1.171 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/0.513, allocations: 1.519 MB / 1.172 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003167/0.5162, allocations: 2.354 MB / 1.174 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-05/0.5162, allocations: 8 kB / 1.174 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004097/0.5203, allocations: 2.492 MB / 1.177 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/0.5203, allocations: 16.22 kB / 1.177 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-05/0.5204, allocations: 20 kB / 1.177 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.587e-05/0.5204, allocations: 28 kB / 1.177 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/0.5221, allocations: 459.2 kB / 1.177 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.794e-05/0.5222, allocations: 39.86 kB / 1.177 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.5239, allocations: 345.7 kB / 1.178 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.5241, allocations: 79.98 kB / 1.178 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003874/0.5279, allocations: 1.907 MB / 1.18 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002213/0.5302, allocations: 1.435 MB / 1.181 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003345/0.5335, allocations: 2.206 MB / 1.183 GB, free: 140 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.265e-05/0.5336, allocations: 4 kB / 1.183 GB, free: 136 kB / 0.9356 GB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.004089/0.5377, allocations: 2.327 MB / 1.186 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.5377, allocations: 17.56 kB / 1.186 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/0.5378, allocations: 20.84 kB / 1.186 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/0.5378, allocations: 28 kB / 1.186 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.5393, allocations: 439.3 kB / 1.186 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.297e-05/0.5393, allocations: 43.8 kB / 1.186 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.5409, allocations: 282.6 kB / 1.186 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/0.5411, allocations: 83.98 kB / 1.186 GB, free: 12.9 MB / 0.9512 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.0004571/0.5416, allocations: 279.6 kB / 1.187 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/0.542, allocations: 102.8 kB / 1.187 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/0.5446, allocations: 1.564 MB / 1.188 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.5447, allocations: 8 kB / 1.188 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.5447, allocations: 8 kB / 1.188 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.5447, allocations: 7.922 kB / 1.188 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008751/0.5534, allocations: 4.482 MB / 1.193 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.5535, allocations: 0 / 1.193 GB, free: 6.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009944/0.5545, allocations: 251.6 kB / 1.193 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.675e-05/0.5545, allocations: 4 kB / 1.193 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.229e-05/0.5546, allocations: 16 kB / 1.193 GB, free: 6.055 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/0.5546, allocations: 11.94 kB / 1.193 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.5546, allocations: 4 kB / 1.193 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/0.5571, allocations: 1.915 MB / 1.195 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007375/0.5579, allocations: 319.7 kB / 1.195 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/0.5582, allocations: 19.94 kB / 1.195 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.5592, allocations: 123.8 kB / 1.195 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.5593, allocations: 52.53 kB / 1.195 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.375e-05/0.5594, allocations: 20 kB / 1.195 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001543/0.561, allocations: 0.7995 MB / 1.196 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.21e-07/0.561, allocations: 0 / 1.196 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00463/0.5656, allocations: 1.301 MB / 1.197 GB, free: 1.441 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.0002498/0.5659, allocations: 131 kB / 1.198 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004997/0.5709, allocations: 2.971 MB / 1.2 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.5709, allocations: 0 / 1.2 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000976/0.5719, allocations: 0.6562 MB / 1.201 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/0.5736, allocations: 189.9 kB / 1.201 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009964/0.5836, allocations: 5.773 MB / 1.207 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002954/0.5866, allocations: 2.21 MB / 1.209 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002916/0.5896, allocations: 1.101 MB / 1.21 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004478/0.59, allocations: 87.42 kB / 1.21 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of SimCode: time 7.62e-07/0.59, allocations: 3.938 kB / 1.21 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of Templates: time 0.03096/0.621, allocations: 15.32 MB / 1.225 GB, free: 5.031 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)