Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.001295/0.001295, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 199.7 kB / 16.54 MB, free: 6.672 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.68/1.68, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.684/1.684, allocations: 251.7 MB / 0.5092 GB, free: 3.125 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.001836/0.001837, allocations: 63.91 kB / 0.6223 GB, free: 1.484 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6097/0.6116, allocations: 104.7 MB / 0.7245 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.00672/0.6183, allocations: 4.627 MB / 0.729 GB, free: 8.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003701/0.6221, allocations: 2.221 MB / 0.7312 GB, free: 6.035 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002384/0.6223, allocations: 7.938 kB / 0.7312 GB, free: 6.027 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001474/0.6239, allocations: 0.5393 MB / 0.7317 GB, free: 5.488 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006585/0.6245, allocations: 270.7 kB / 0.732 GB, free: 5.223 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009417/0.6255, allocations: 343.2 kB / 0.7323 GB, free: 4.887 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005893/0.6261, allocations: 0.5607 MB / 0.7329 GB, free: 4.324 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006135/0.6267, allocations: 365.8 kB / 0.7332 GB, free: 3.969 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.627, allocations: 235.1 kB / 0.7335 GB, free: 3.738 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004279/0.6274, allocations: 275.1 kB / 0.7337 GB, free: 3.469 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.741e-05/0.6275, allocations: 39.94 kB / 0.7338 GB, free: 3.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004788/0.628, allocations: 259.5 kB / 0.734 GB, free: 3.176 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001824/0.6282, allocations: 179.6 kB / 0.7342 GB, free: 3 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002256/0.6284, allocations: 218.9 kB / 0.7344 GB, free: 2.785 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007283/0.6292, allocations: 0.6347 MB / 0.735 GB, free: 2.148 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6292, allocations: 0 / 0.735 GB, free: 2.148 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6292, allocations: 0 / 0.735 GB, free: 2.148 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.6292, allocations: 0 / 0.735 GB, free: 2.148 MB / 0.545 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.001253/0.6304, allocations: 0.7136 MB / 0.7357 GB, free: 1.387 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.6305, allocations: 12.03 kB / 0.7357 GB, free: 1.375 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009862/0.6315, allocations: 132.3 kB / 0.7358 GB, free: 1.246 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.632, allocations: 324.4 kB / 0.7361 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.632, allocations: 33.36 kB / 0.7362 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.864e-05/0.6321, allocations: 36.38 kB / 0.7362 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009079/0.633, allocations: 0.6224 MB / 0.7368 GB, free: 152 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.232e-05/0.6331, allocations: 3.984 kB / 0.7368 GB, free: 148 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.6331, allocations: 23.94 kB / 0.7368 GB, free: 124 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.537e-05/0.6332, allocations: 40.64 kB / 0.7369 GB, free: 84 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007631/0.634, allocations: 482.2 kB / 0.7373 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003548/0.6376, allocations: 3.416 MB / 0.7407 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006836/0.6383, allocations: 372.9 kB / 0.741 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.6385, allocations: 181.6 kB / 0.7412 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.6386, allocations: 7.984 kB / 0.7412 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.6386, allocations: 34.56 kB / 0.7412 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=25): time 1.372e-06/0.6386, allocations: 4 kB / 0.7413 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26): time 0.004601/0.6432, allocations: 1.457 MB / 0.7427 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/0.6433, allocations: 85.09 kB / 0.7428 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.6436, allocations: 328.4 kB / 0.7431 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.6437, allocations: 29.7 kB / 0.7431 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.6439, allocations: 255.3 kB / 0.7433 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.014e-05/0.6439, allocations: 90.73 kB / 0.7434 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.6441, allocations: 94.16 kB / 0.7435 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6442, allocations: 342.8 kB / 0.7438 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.6445, allocations: 190.9 kB / 0.744 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.6449, allocations: 334.1 kB / 0.7443 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006743/0.6456, allocations: 0.5357 MB / 0.7449 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.6456, allocations: 0 / 0.7449 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002441/0.648, allocations: 0.9081 MB / 0.7458 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.6481, allocations: 4 kB / 0.7458 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.6481, allocations: 11.94 kB / 0.7458 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002646/0.6508, allocations: 0.5052 MB / 0.7463 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.6511, allocations: 87.88 kB / 0.7463 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005753/0.6569, allocations: 4.065 MB / 0.7503 GB, free: 1.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000431/0.6574, allocations: 39.81 kB / 0.7504 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.6574, allocations: 23.98 kB / 0.7504 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004388/0.6578, allocations: 297.1 kB / 0.7507 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004169/0.6583, allocations: 335.8 kB / 0.751 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006341/0.6589, allocations: 0.5062 MB / 0.7515 GB, free: 92 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.124e-06/0.6589, allocations: 0 / 0.7515 GB, free: 92 kB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007862/0.6597, allocations: 0.5297 MB / 0.752 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.6597, allocations: 8 kB / 0.752 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6598, allocations: 4 kB / 0.752 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.6598, allocations: 15.94 kB / 0.752 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.6602, allocations: 111.8 kB / 0.7521 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.6602, allocations: 11.94 kB / 0.7521 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.6605, allocations: 40.31 kB / 0.7522 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.6605, allocations: 20 kB / 0.7522 GB, free: 15.34 MB / 0.5762 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.0001873/0.6607, allocations: 200.2 kB / 0.7524 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-05/0.6608, allocations: 39.61 kB / 0.7524 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.6625, allocations: 0.6744 MB / 0.7531 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.6625, allocations: 4 kB / 0.7531 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.6625, allocations: 0 / 0.7531 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.6626, allocations: 3.984 kB / 0.7531 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009317/0.6635, allocations: 0.6558 MB / 0.7537 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6635, allocations: 0 / 0.7537 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.6637, allocations: 48 kB / 0.7538 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001454/0.6652, allocations: 401.2 kB / 0.7542 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.6652, allocations: 8 kB / 0.7542 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004237/0.6694, allocations: 3.757 MB / 0.7578 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6695, allocations: 0 / 0.7578 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001681/0.6712, allocations: 0.83 MB / 0.7586 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.6714, allocations: 140.6 kB / 0.7588 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.6714, allocations: 4 kB / 0.7588 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.6718, allocations: 39.94 kB / 0.7588 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.222e-05/0.6719, allocations: 19.97 kB / 0.7588 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.6719, allocations: 12 kB / 0.7589 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002551/0.6721, allocations: 231 kB / 0.7591 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6722, allocations: 0 / 0.7591 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009003/0.6731, allocations: 192 kB / 0.7593 GB, free: 7.691 MB / 0.5762 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.0001947/0.6733, allocations: 113.9 kB / 0.7594 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001776/0.675, allocations: 0.9991 MB / 0.7603 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6751, allocations: 0 / 0.7603 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007405/0.6758, allocations: 498.4 kB / 0.7608 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.6764, allocations: 87.06 kB / 0.7609 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.6777, allocations: 0.7364 MB / 0.7616 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.6782, allocations: 0.8431 MB / 0.7624 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003907/0.6786, allocations: 143.1 kB / 0.7626 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.671e-05/0.6787, allocations: 27.44 kB / 0.7626 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.6787, allocations: 0 / 0.7626 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of Templates: time 0.01259/0.6913, allocations: 7.234 MB / 0.7697 GB, free: 12.95 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)