Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.ThreePhasesUnbalanced.Sensors.Examples.Sensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.001028/0.001028, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.00121/0.00121, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.658/1.658, allocations: 252 MB / 0.5102 GB, free: 4.789 MB / 414.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.0005191/0.0005193, allocations: 12 kB / 0.6243 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5989/0.5994, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors): time 0.01756/0.617, allocations: 15.6 MB / 0.7434 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009665/0.6268, allocations: 5.587 MB / 0.7488 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.6284, allocations: 43.88 kB / 0.7489 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008798/0.6292, allocations: 313.7 kB / 0.7492 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.631, allocations: 0.638 MB / 0.7498 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.6331, allocations: 0.697 MB / 0.7505 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005011/0.6381, allocations: 4.942 MB / 0.7553 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009739/0.6479, allocations: 7.037 MB / 0.7622 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002656/0.6506, allocations: 1.312 MB / 0.7634 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00293/0.6535, allocations: 1.877 MB / 0.7653 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003503/0.6539, allocations: 188 kB / 0.7655 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.655, allocations: 419.6 kB / 0.7659 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001389/0.6564, allocations: 1.384 MB / 0.7672 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006781/0.6571, allocations: 0.5667 MB / 0.7678 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004813/0.6619, allocations: 5.34 MB / 0.773 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.662, allocations: 0 / 0.773 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.302e-06/0.662, allocations: 0 / 0.773 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001576/0.6621, allocations: 4 kB / 0.773 GB, free: 13.3 MB / 0.5919 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.006739/0.6689, allocations: 2.502 MB / 0.7754 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.458e-05/0.669, allocations: 8.031 kB / 0.7754 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005469/0.6744, allocations: 1.148 MB / 0.7766 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003268/0.6777, allocations: 1.58 MB / 0.7781 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.6779, allocations: 221.9 kB / 0.7783 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005522/0.6785, allocations: 292 kB / 0.7786 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/0.6896, allocations: 5.284 MB / 0.7837 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.527e-05/0.6897, allocations: 4 kB / 0.7838 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003382/0.6901, allocations: 120 kB / 0.7839 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002356/0.6903, allocations: 205.1 kB / 0.7841 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008572/0.6989, allocations: 4.75 MB / 0.7887 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02808/0.727, allocations: 23.2 MB / 0.8114 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004307/0.7314, allocations: 3.199 MB / 0.8145 GB, free: 76 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.7327, allocations: 0.9017 MB / 0.8154 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.7329, allocations: 117.6 kB / 0.8155 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.7329, allocations: 47.22 kB / 0.8155 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 3.076e-06/0.7329, allocations: 0 / 0.8155 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82): time 0.003215/0.7361, allocations: 2.082 MB / 0.8175 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.7363, allocations: 226.4 kB / 0.8178 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.7378, allocations: 1.087 MB / 0.8188 GB, free: 11.51 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.971e-05/0.7379, allocations: 41.7 kB / 0.8189 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008101/0.7387, allocations: 1.288 MB / 0.8201 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/0.739, allocations: 299.9 kB / 0.8204 GB, free: 9.855 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.493e-05/0.7391, allocations: 28 kB / 0.8204 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000208/0.7393, allocations: 414.7 kB / 0.8208 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001266/0.7406, allocations: 0.8822 MB / 0.8217 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.7423, allocations: 1.507 MB / 0.8232 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001612/0.744, allocations: 1.186 MB / 0.8243 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.537e-06/0.744, allocations: 8 kB / 0.8243 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003606/0.7476, allocations: 2.484 MB / 0.8268 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005251/0.7481, allocations: 0.6506 MB / 0.8274 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.7482, allocations: 20 kB / 0.8274 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.694e-05/0.7482, allocations: 32 kB / 0.8274 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.7498, allocations: 463.2 kB / 0.8279 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.929e-05/0.7498, allocations: 39.86 kB / 0.8279 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.7512, allocations: 349.8 kB / 0.8283 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.7513, allocations: 83.97 kB / 0.8283 GB, free: 1.172 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.7513, allocations: 8 kB / 0.8283 GB, free: 1.164 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003095/0.7544, allocations: 2.203 MB / 0.8305 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.7545, allocations: 20.12 kB / 0.8305 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/0.7545, allocations: 36 kB / 0.8305 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.7558, allocations: 439.2 kB / 0.831 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.294e-05/0.7559, allocations: 39.86 kB / 0.831 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.7569, allocations: 246.6 kB / 0.8312 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.757, allocations: 79.98 kB / 0.8313 GB, free: 14.12 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002061/0.7591, allocations: 1.281 MB / 0.8326 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.7594, allocations: 102.8 kB / 0.8327 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/0.7618, allocations: 1.567 MB / 0.8342 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.7618, allocations: 15.94 kB / 0.8342 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.7618, allocations: 3.984 kB / 0.8342 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.7618, allocations: 11.97 kB / 0.8342 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006528/0.7684, allocations: 4.486 MB / 0.8386 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.7684, allocations: 4 kB / 0.8386 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009379/0.7693, allocations: 251.6 kB / 0.8388 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.7694, allocations: 4 kB / 0.8389 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.893e-05/0.7694, allocations: 20 kB / 0.8389 GB, free: 6.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.874e-06/0.7694, allocations: 7.938 kB / 0.8389 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.7694, allocations: 4 kB / 0.8389 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.7716, allocations: 1.919 MB / 0.8408 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005536/0.7721, allocations: 359.6 kB / 0.8411 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.7723, allocations: 16 kB / 0.8411 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008066/0.7731, allocations: 123.8 kB / 0.8412 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.7732, allocations: 52.58 kB / 0.8413 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/0.7733, allocations: 24 kB / 0.8413 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001062/0.7744, allocations: 0.7878 MB / 0.8421 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7744, allocations: 0 / 0.8421 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003324/0.7777, allocations: 1.302 MB / 0.8433 GB, free: 1.602 MB / 0.6544 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002458/0.7779, allocations: 135 kB / 0.8435 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004526/0.7825, allocations: 2.975 MB / 0.8464 GB, free: 14.48 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.7825, allocations: 4 kB / 0.8464 GB, free: 14.48 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009045/0.7834, allocations: 0.6601 MB / 0.847 GB, free: 13.82 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.7848, allocations: 178 kB / 0.8472 GB, free: 13.65 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007701/0.7925, allocations: 5.532 MB / 0.8526 GB, free: 8.07 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002065/0.7946, allocations: 2.21 MB / 0.8548 GB, free: 5.828 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002524/0.7972, allocations: 1.101 MB / 0.8558 GB, free: 4.723 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003134/0.7975, allocations: 87.41 kB / 0.8559 GB, free: 4.637 MB / 0.67 GB Notification: Performance of SimCode: time 6.21e-07/0.7975, allocations: 0 / 0.8559 GB, free: 4.637 MB / 0.67 GB Notification: Performance of Templates: time 0.02684/0.8244, allocations: 14.78 MB / 0.8704 GB, free: 5.961 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sensors.Examples.Sensors.pipe 2>&1) Environment - environmentSimulation: