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.001514/0.001514, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001814/0.001814, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.511/1.511, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002232/0.002232, allocations: 296 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.009/1.009, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 91.86 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4644/0.4663, allocations: 86.98 MB / 0.767 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe): time 0.006694/0.473, allocations: 4.633 MB / 0.7716 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003943/0.477, allocations: 2.205 MB / 0.7737 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.4772, allocations: 11.94 kB / 0.7737 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.4788, allocations: 0.5409 MB / 0.7743 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000583/0.4794, allocations: 270.7 kB / 0.7745 GB, free: 12.47 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009351/0.4804, allocations: 341.8 kB / 0.7748 GB, free: 12.14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007829/0.4812, allocations: 0.5646 MB / 0.7754 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006827/0.4819, allocations: 363.8 kB / 0.7757 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004255/0.4823, allocations: 231.3 kB / 0.776 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005562/0.4829, allocations: 279 kB / 0.7762 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.887e-05/0.483, allocations: 36 kB / 0.7763 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000525/0.4835, allocations: 255.5 kB / 0.7765 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002003/0.4837, allocations: 179.6 kB / 0.7767 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.484, allocations: 215 kB / 0.7769 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009217/0.4849, allocations: 0.6411 MB / 0.7775 GB, free: 9.402 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.4849, allocations: 0 / 0.7775 GB, free: 9.402 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4849, allocations: 4 kB / 0.7775 GB, free: 9.398 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.537e-05/0.485, allocations: 0 / 0.7775 GB, free: 9.398 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.001397/0.4864, allocations: 0.7097 MB / 0.7782 GB, free: 8.641 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.4864, allocations: 12.03 kB / 0.7782 GB, free: 8.629 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/0.4875, allocations: 140.2 kB / 0.7784 GB, free: 8.492 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.488, allocations: 340.3 kB / 0.7787 GB, free: 8.117 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/0.488, allocations: 25.38 kB / 0.7787 GB, free: 8.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.375e-05/0.4881, allocations: 36.38 kB / 0.7787 GB, free: 8.055 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009147/0.489, allocations: 0.6302 MB / 0.7794 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.4891, allocations: 0 / 0.7794 GB, free: 7.379 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.117e-05/0.4891, allocations: 19.94 kB / 0.7794 GB, free: 7.359 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-05/0.4892, allocations: 44.64 kB / 0.7794 GB, free: 7.316 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007142/0.4899, allocations: 478.1 kB / 0.7799 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003462/0.4934, allocations: 3.405 MB / 0.7832 GB, free: 3.156 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.4941, allocations: 380.9 kB / 0.7836 GB, free: 2.766 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.4943, allocations: 173.6 kB / 0.7837 GB, free: 2.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.4944, allocations: 4 kB / 0.7837 GB, free: 2.586 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.4944, allocations: 38.5 kB / 0.7838 GB, free: 2.539 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 2.054e-06/0.4944, allocations: 0 / 0.7838 GB, free: 2.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=26): time 0.004518/0.4989, allocations: 1.454 MB / 0.7852 GB, free: 1.035 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.499, allocations: 81.11 kB / 0.7853 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.4993, allocations: 332.3 kB / 0.7856 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.4994, allocations: 33.7 kB / 0.7856 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.4995, allocations: 255.4 kB / 0.7859 GB, free: 312 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.916e-05/0.4996, allocations: 94.66 kB / 0.7859 GB, free: 216 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.4998, allocations: 86.16 kB / 0.786 GB, free: 124 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.4999, allocations: 342.8 kB / 0.7864 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.5002, allocations: 187 kB / 0.7865 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.5005, allocations: 342.1 kB / 0.7869 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006464/0.5012, allocations: 0.5362 MB / 0.7874 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5012, allocations: 4 kB / 0.7874 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00227/0.5035, allocations: 0.9081 MB / 0.7883 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.5035, allocations: 8 kB / 0.7883 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.5035, allocations: 4 kB / 0.7883 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002286/0.5058, allocations: 0.5052 MB / 0.7888 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003973/0.5062, allocations: 95.88 kB / 0.7889 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005563/0.5118, allocations: 4.05 MB / 0.7928 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.5122, allocations: 35.84 kB / 0.7929 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.5123, allocations: 27.98 kB / 0.7929 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003923/0.5127, allocations: 299.5 kB / 0.7932 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003881/0.5131, allocations: 331.8 kB / 0.7935 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005793/0.5137, allocations: 0.5035 MB / 0.794 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.479e-06/0.5137, allocations: 8 kB / 0.794 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.0008435/0.5145, allocations: 0.53 MB / 0.7945 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.5146, allocations: 10.34 kB / 0.7945 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.5146, allocations: 7.938 kB / 0.7945 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.5146, allocations: 8 kB / 0.7945 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/0.515, allocations: 115.7 kB / 0.7946 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.515, allocations: 11.98 kB / 0.7947 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.5153, allocations: 35.83 kB / 0.7947 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.5154, allocations: 20 kB / 0.7947 GB, free: 6.613 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.0001748/0.5156, allocations: 220.2 kB / 0.7949 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.5157, allocations: 31.62 kB / 0.7949 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.5175, allocations: 0.6656 MB / 0.7956 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.5175, allocations: 7.922 kB / 0.7956 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5175, allocations: 0 / 0.7956 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.5177, allocations: 144.6 kB / 0.7957 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.5177, allocations: 4 kB / 0.7957 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/0.5181, allocations: 35.94 kB / 0.7958 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.666e-05/0.5182, allocations: 23.95 kB / 0.7958 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001367/0.5196, allocations: 0.6729 MB / 0.7965 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008847/0.5205, allocations: 0.7323 MB / 0.7972 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002026/0.5207, allocations: 147.9 kB / 0.7973 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00023/0.5209, allocations: 231 kB / 0.7975 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of Backend: time 2.044e-06/0.5209, allocations: 0 / 0.7975 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002203/0.5231, allocations: 1.04 MB / 0.7986 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001667/0.5248, allocations: 1.2 MB / 0.7997 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of Templates: time 0.01588/0.5407, allocations: 9.163 MB / 0.8087 GB, free: 8.223 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)