Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.0009405/0.0009405, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00905/0.00905, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.412/1.412, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.782/2.782, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003546, allocations: 11.61 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3022, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01878/0.3211, allocations: 16.51 MB / 1.09 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01045/0.3316, allocations: 5.803 MB / 1.096 GB, free: 1.156 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002156/0.3338, allocations: 43.88 kB / 1.096 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0009172/0.3347, allocations: 317.7 kB / 1.096 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002127/0.3369, allocations: 0.7863 MB / 1.097 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.3392, allocations: 0.8729 MB / 1.098 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006639/0.3458, allocations: 6.495 MB / 1.104 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01234/0.3582, allocations: 7.954 MB / 1.112 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003449/0.3617, allocations: 1.288 MB / 1.113 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003758/0.3655, allocations: 1.924 MB / 1.115 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004725/0.366, allocations: 192 kB / 1.115 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001863/0.3679, allocations: 0.7215 MB / 1.116 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001492/0.3694, allocations: 1.391 MB / 1.117 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001761/0.3712, allocations: 1.397 MB / 1.119 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00632/0.3775, allocations: 6.056 MB / 1.125 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.3775, allocations: 4 kB / 1.125 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.775e-06/0.3775, allocations: 0 / 1.125 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001751/0.3777, allocations: 0 / 1.125 GB, free: 3.57 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.006083/0.3838, allocations: 2.475 MB / 1.127 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3839, allocations: 12.03 kB / 1.127 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005372/0.3893, allocations: 1.141 MB / 1.128 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/0.3921, allocations: 1.604 MB / 1.13 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.3923, allocations: 226.3 kB / 1.13 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005814/0.3929, allocations: 288.4 kB / 1.13 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009878/0.4028, allocations: 5.308 MB / 1.135 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.245e-05/0.4029, allocations: 7.938 kB / 1.135 GB, free: 8.316 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003574/0.4032, allocations: 124 kB / 1.136 GB, free: 8.195 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002514/0.4035, allocations: 205.1 kB / 1.136 GB, free: 7.992 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008334/0.4118, allocations: 4.77 MB / 1.14 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02722/0.4391, allocations: 23.21 MB / 1.163 GB, free: 9.758 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004526/0.4436, allocations: 3.191 MB / 1.166 GB, free: 6.289 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/0.4449, allocations: 0.9188 MB / 1.167 GB, free: 5.352 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.4451, allocations: 101.7 kB / 1.167 GB, free: 5.23 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.4452, allocations: 51.16 kB / 1.167 GB, free: 5.172 MB / 0.92 GB Notification: Performance of pre-optimization done (n=82): time 3.357e-06/0.4452, allocations: 0 / 1.167 GB, free: 5.172 MB / 0.92 GB Notification: Performance of matching and sorting (n=82): time 0.003234/0.4484, allocations: 2.093 MB / 1.169 GB, free: 3.074 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.466e-05/0.4485, allocations: 218.3 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001493/0.45, allocations: 1.102 MB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.897e-05/0.4501, allocations: 41.7 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007817/0.4509, allocations: 1.285 MB / 1.172 GB, free: 352 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.4512, allocations: 295.9 kB / 1.172 GB, free: 52 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.4514, allocations: 133.6 kB / 1.172 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4515, allocations: 337.9 kB / 1.173 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.4528, allocations: 0.8861 MB / 1.173 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001667/0.4545, allocations: 1.53 MB / 1.175 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002802/0.4573, allocations: 2.358 MB / 1.177 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.4574, allocations: 4 kB / 1.177 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003599/0.461, allocations: 2.507 MB / 1.18 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004429/0.4614, allocations: 0.6393 MB / 1.18 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.4614, allocations: 20 kB / 1.18 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.919e-05/0.4615, allocations: 31.94 kB / 1.18 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.4631, allocations: 467.2 kB / 1.181 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.74e-05/0.4632, allocations: 43.8 kB / 1.181 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.4649, allocations: 349.8 kB / 1.181 GB, free: 5.941 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.465, allocations: 79.97 kB / 1.181 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/0.4651, allocations: 4 kB / 1.181 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003308/0.4684, allocations: 2.226 MB / 1.183 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.4684, allocations: 16 kB / 1.183 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.4684, allocations: 28 kB / 1.184 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.4698, allocations: 443.2 kB / 1.184 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.202e-05/0.4698, allocations: 36.23 kB / 1.184 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.471, allocations: 258.6 kB / 1.184 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.4712, allocations: 79.97 kB / 1.184 GB, free: 2.793 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.002048/0.4732, allocations: 1.277 MB / 1.186 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003151/0.4735, allocations: 98.78 kB / 1.186 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/0.476, allocations: 1.572 MB / 1.187 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.476, allocations: 11.98 kB / 1.187 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.4761, allocations: 4 kB / 1.187 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.4761, allocations: 3.984 kB / 1.187 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006528/0.4826, allocations: 4.502 MB / 1.192 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.924e-06/0.4826, allocations: 8 kB / 1.192 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009846/0.4836, allocations: 255.6 kB / 1.192 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.4836, allocations: 4 kB / 1.192 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-05/0.4837, allocations: 12 kB / 1.192 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/0.4837, allocations: 4 kB / 1.192 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.4837, allocations: 4 kB / 1.192 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/0.4858, allocations: 1.927 MB / 1.194 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005062/0.4863, allocations: 359.6 kB / 1.194 GB, free: 8.574 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.4865, allocations: 16 kB / 1.194 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008931/0.4874, allocations: 127.8 kB / 1.194 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/0.4875, allocations: 56.45 kB / 1.194 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.4876, allocations: 24 kB / 1.194 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001022/0.4886, allocations: 0.7957 MB / 1.195 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4886, allocations: 0 / 1.195 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003187/0.4918, allocations: 1.302 MB / 1.196 GB, free: 6.254 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.0002125/0.492, allocations: 127.1 kB / 1.196 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004365/0.4964, allocations: 2.987 MB / 1.199 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.4964, allocations: 3.938 kB / 1.199 GB, free: 3.137 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0008661/0.4973, allocations: 0.6683 MB / 1.2 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.4989, allocations: 186.7 kB / 1.2 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007886/0.5068, allocations: 5.79 MB / 1.206 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002077/0.5089, allocations: 2.206 MB / 1.208 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002521/0.5114, allocations: 1.101 MB / 1.209 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/0.5118, allocations: 87.41 kB / 1.209 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of SimCode: time 7.32e-07/0.5118, allocations: 0 / 1.209 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of Templates: time 0.02664/0.5385, allocations: 15.05 MB / 1.224 GB, free: 10.06 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1)