Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.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.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009767/0.0009767, allocations: 97.95 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.008544/0.008544, allocations: 170 kB / 16.27 MB, free: 6.648 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.71/1.71, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.811/1.811, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0006363/0.0006363, allocations: 19.33 kB / 0.6743 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3331, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.006773/0.3399, allocations: 4.281 MB / 0.7921 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004317/0.3443, allocations: 2.191 MB / 0.7942 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004364/0.3448, allocations: 7.938 kB / 0.7942 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004702/0.3452, allocations: 67.48 kB / 0.7943 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.3464, allocations: 254.9 kB / 0.7945 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.3477, allocations: 315.4 kB / 0.7948 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.349, allocations: 0.8064 MB / 0.7956 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.3505, allocations: 0.6375 MB / 0.7962 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005061/0.351, allocations: 187.2 kB / 0.7964 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006866/0.3517, allocations: 267 kB / 0.7967 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.177e-05/0.3518, allocations: 16 kB / 0.7967 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007325/0.3525, allocations: 291.5 kB / 0.797 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002681/0.3528, allocations: 163.5 kB / 0.7971 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003714/0.3532, allocations: 216.6 kB / 0.7973 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.3543, allocations: 0.619 MB / 0.7979 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.3543, allocations: 4 kB / 0.7979 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3544, allocations: 0 / 0.7979 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.838e-05/0.3544, allocations: 0 / 0.7979 GB, free: 1.203 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00167/0.3561, allocations: 0.6395 MB / 0.7986 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.3561, allocations: 12.03 kB / 0.7986 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.3574, allocations: 136.3 kB / 0.7987 GB, free: 380 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/0.358, allocations: 324.4 kB / 0.799 GB, free: 12 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.527e-05/0.3581, allocations: 29.45 kB / 0.799 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.3582, allocations: 40.36 kB / 0.7991 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.3592, allocations: 0.634 MB / 0.7997 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.3593, allocations: 0 / 0.7997 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.406e-05/0.3593, allocations: 20 kB / 0.7997 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.517e-05/0.3594, allocations: 36.64 kB / 0.7997 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007891/0.3602, allocations: 482.1 kB / 0.8002 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003884/0.3641, allocations: 3.424 MB / 0.8035 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006933/0.3648, allocations: 376.9 kB / 0.8039 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.3651, allocations: 173.6 kB / 0.8041 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.3651, allocations: 4.406 kB / 0.8041 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.3652, allocations: 34.56 kB / 0.8041 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 2.645e-06/0.3652, allocations: 0 / 0.8041 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.004653/0.3699, allocations: 1.473 MB / 0.8055 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.3699, allocations: 85.11 kB / 0.8056 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.3703, allocations: 328.4 kB / 0.8059 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.3704, allocations: 29.7 kB / 0.806 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.3705, allocations: 263.2 kB / 0.8062 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.249e-05/0.3706, allocations: 90.75 kB / 0.8063 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.415e-05/0.3707, allocations: 41.7 kB / 0.8063 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3709, allocations: 338.8 kB / 0.8067 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002692/0.3711, allocations: 181 kB / 0.8068 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.3715, allocations: 334.1 kB / 0.8072 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006855/0.3722, allocations: 0.5319 MB / 0.8077 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3722, allocations: 3.938 kB / 0.8077 GB, free: 6.484 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00227/0.3745, allocations: 0.9167 MB / 0.8086 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002148/0.3747, allocations: 249.1 kB / 0.8088 GB, free: 5.234 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3748, allocations: 4 kB / 0.8088 GB, free: 5.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002391/0.3772, allocations: 0.5088 MB / 0.8093 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.3776, allocations: 91.83 kB / 0.8094 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00553/0.3831, allocations: 3.782 MB / 0.8131 GB, free: 0.5742 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004848/0.3836, allocations: 43.81 kB / 0.8131 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.3837, allocations: 20 kB / 0.8132 GB, free: 0.5117 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3837, allocations: 4 kB / 0.8132 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000767/0.3845, allocations: 479.2 kB / 0.8136 GB, free: 40 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3845, allocations: 8 kB / 0.8136 GB, free: 32 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-06/0.3845, allocations: 8.719 kB / 0.8136 GB, free: 24 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.3849, allocations: 111.8 kB / 0.8137 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.3849, allocations: 11.94 kB / 0.8138 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.3852, allocations: 39.75 kB / 0.8138 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.3852, allocations: 24 kB / 0.8138 GB, free: 15.84 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003339/0.3856, allocations: 268 kB / 0.8141 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-05/0.3857, allocations: 31.62 kB / 0.8141 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.3874, allocations: 0.6805 MB / 0.8148 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3874, allocations: 4 kB / 0.8148 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.3874, allocations: 0 / 0.8148 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.3874, allocations: 0 / 0.8148 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.3885, allocations: 0.6676 MB / 0.8154 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3885, allocations: 0 / 0.8154 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001942/0.3887, allocations: 43.91 kB / 0.8155 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00153/0.3902, allocations: 405.3 kB / 0.8158 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.3903, allocations: 4 kB / 0.8159 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004183/0.3945, allocations: 3.482 MB / 0.8193 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3945, allocations: 3.938 kB / 0.8193 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.3962, allocations: 0.8223 MB / 0.8201 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.3964, allocations: 148.6 kB / 0.8202 GB, free: 8.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.14e-05/0.3965, allocations: 4 kB / 0.8202 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.3968, allocations: 39.92 kB / 0.8202 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.3969, allocations: 27.91 kB / 0.8203 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.3969, allocations: 8 kB / 0.8203 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002799/0.3972, allocations: 227.1 kB / 0.8205 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3972, allocations: 0 / 0.8205 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001044/0.3983, allocations: 196 kB / 0.8207 GB, free: 8.402 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002458/0.3985, allocations: 114.2 kB / 0.8208 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.4004, allocations: 0.9536 MB / 0.8217 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.4004, allocations: 0 / 0.8217 GB, free: 7.305 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007456/0.4012, allocations: 485.6 kB / 0.8222 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.4018, allocations: 68.94 kB / 0.8223 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.4032, allocations: 0.9357 MB / 0.8232 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.4037, allocations: 0.8468 MB / 0.824 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000392/0.4041, allocations: 139.1 kB / 0.8241 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.068e-05/0.4042, allocations: 31.44 kB / 0.8242 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of SimCode: time 7.22e-07/0.4042, allocations: 0 / 0.8242 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of Templates: time 0.01192/0.4161, allocations: 6.757 MB / 0.8308 GB, free: 14 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) Environment - environmentSimulation: