Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001525/0.001525, allocations: 115.1 kB / 16.42 MB, free: 6.488 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.001765/0.001765, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.382/1.382, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002171/0.002171, allocations: 275.3 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.957/0.957, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 95.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4574/0.4595, allocations: 86.98 MB / 0.7671 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.006538/0.4661, allocations: 4.633 MB / 0.7716 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003546/0.4697, allocations: 2.209 MB / 0.7737 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002804/0.47, allocations: 8 kB / 0.7737 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.4715, allocations: 0.537 MB / 0.7743 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007104/0.4722, allocations: 266.7 kB / 0.7745 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008625/0.4731, allocations: 351.1 kB / 0.7749 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007071/0.4738, allocations: 0.5529 MB / 0.7754 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005636/0.4744, allocations: 359.8 kB / 0.7757 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000366/0.4747, allocations: 239.1 kB / 0.776 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005053/0.4753, allocations: 286.9 kB / 0.7762 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.946e-05/0.4753, allocations: 36 kB / 0.7763 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000482/0.4758, allocations: 251.6 kB / 0.7765 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.476, allocations: 179.6 kB / 0.7767 GB, free: 9.988 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.4763, allocations: 214.9 kB / 0.7769 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007445/0.477, allocations: 0.6372 MB / 0.7775 GB, free: 9.141 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.477, allocations: 0 / 0.7775 GB, free: 9.141 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.303e-06/0.477, allocations: 4 kB / 0.7775 GB, free: 9.137 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.685e-05/0.4771, allocations: 0 / 0.7775 GB, free: 9.137 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.001233/0.4783, allocations: 0.7136 MB / 0.7782 GB, free: 8.375 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4783, allocations: 8.031 kB / 0.7782 GB, free: 8.367 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.4794, allocations: 140.2 kB / 0.7784 GB, free: 8.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.4798, allocations: 328.4 kB / 0.7787 GB, free: 7.867 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.4799, allocations: 33.36 kB / 0.7787 GB, free: 7.832 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/0.48, allocations: 40.31 kB / 0.7787 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008947/0.4809, allocations: 0.6225 MB / 0.7793 GB, free: 7.125 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.4809, allocations: 7.875 kB / 0.7794 GB, free: 7.117 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.023e-05/0.481, allocations: 19.98 kB / 0.7794 GB, free: 7.098 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.029e-05/0.481, allocations: 48.62 kB / 0.7794 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007058/0.4818, allocations: 474.2 kB / 0.7799 GB, free: 6.586 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003335/0.4851, allocations: 3.401 MB / 0.7832 GB, free: 2.898 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.4858, allocations: 384.9 kB / 0.7836 GB, free: 2.504 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002244/0.486, allocations: 166.2 kB / 0.7837 GB, free: 2.336 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.4861, allocations: 15.97 kB / 0.7837 GB, free: 2.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.4861, allocations: 34.56 kB / 0.7838 GB, free: 2.277 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.4861, allocations: 0 / 0.7838 GB, free: 2.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.004594/0.4907, allocations: 1.454 MB / 0.7852 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.4908, allocations: 81.11 kB / 0.7853 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.4911, allocations: 336.3 kB / 0.7856 GB, free: 344 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.4912, allocations: 29.7 kB / 0.7856 GB, free: 308 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.4913, allocations: 251.4 kB / 0.7859 GB, free: 48 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.738e-05/0.4914, allocations: 98.75 kB / 0.7859 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.4916, allocations: 98.14 kB / 0.786 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.4917, allocations: 338.8 kB / 0.7864 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.492, allocations: 183 kB / 0.7865 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.4924, allocations: 350 kB / 0.7869 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/0.493, allocations: 0.5323 MB / 0.7874 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.493, allocations: 0 / 0.7874 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002347/0.4954, allocations: 0.9042 MB / 0.7883 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4954, allocations: 8 kB / 0.7883 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.4955, allocations: 7.938 kB / 0.7883 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002367/0.4978, allocations: 0.5052 MB / 0.7888 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.4982, allocations: 95.81 kB / 0.7889 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005669/0.5039, allocations: 4.051 MB / 0.7928 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/0.5043, allocations: 43.89 kB / 0.7929 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-05/0.5044, allocations: 20 kB / 0.7929 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003903/0.5047, allocations: 297.1 kB / 0.7932 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000324/0.5051, allocations: 343.7 kB / 0.7935 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005441/0.5056, allocations: 0.4958 MB / 0.794 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.454e-06/0.5056, allocations: 3.938 kB / 0.794 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0007224/0.5064, allocations: 0.5301 MB / 0.7945 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.5064, allocations: 8 kB / 0.7945 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.5064, allocations: 4 kB / 0.7945 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.116e-06/0.5064, allocations: 11.94 kB / 0.7945 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.5068, allocations: 119.7 kB / 0.7946 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.5068, allocations: 11.94 kB / 0.7947 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.5071, allocations: 35.81 kB / 0.7947 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.5072, allocations: 24 kB / 0.7947 GB, free: 6.34 MB / 0.5606 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.000154/0.5073, allocations: 212.2 kB / 0.7949 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.289e-05/0.5074, allocations: 31.62 kB / 0.7949 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.5091, allocations: 0.6693 MB / 0.7956 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.5092, allocations: 3.938 kB / 0.7956 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5092, allocations: 4 kB / 0.7956 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.5093, allocations: 148.6 kB / 0.7957 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.5094, allocations: 0 / 0.7957 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.5097, allocations: 39.94 kB / 0.7958 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.5098, allocations: 19.97 kB / 0.7958 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00121/0.511, allocations: 0.6653 MB / 0.7965 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008118/0.5118, allocations: 0.744 MB / 0.7972 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002074/0.5121, allocations: 143.9 kB / 0.7973 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002509/0.5123, allocations: 231.1 kB / 0.7975 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of Backend: time 5.41e-07/0.5123, allocations: 0 / 0.7975 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002209/0.5145, allocations: 1.033 MB / 0.7985 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001362/0.5159, allocations: 1.189 MB / 0.7997 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of Templates: time 0.0153/0.5312, allocations: 9.174 MB / 0.8087 GB, free: 7.961 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1)