Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.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.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 112.8 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.001165/0.001165, allocations: 186.5 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.348/1.348, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002148/0.002148, allocations: 300.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9676/0.9676, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 91.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.4622, allocations: 86.98 MB / 0.7671 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor): time 0.00444/0.4666, allocations: 2.604 MB / 0.7696 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002638/0.4693, allocations: 1.476 MB / 0.771 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001717/0.4695, allocations: 4 kB / 0.771 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009114/0.4704, allocations: 231.1 kB / 0.7713 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005816/0.471, allocations: 183.2 kB / 0.7714 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/0.4714, allocations: 147.6 kB / 0.7716 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.4718, allocations: 235.3 kB / 0.7718 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000372/0.4722, allocations: 178.2 kB / 0.772 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.4724, allocations: 103.7 kB / 0.7721 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.4728, allocations: 111.6 kB / 0.7722 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.4728, allocations: 16 kB / 0.7722 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004419/0.4733, allocations: 219.5 kB / 0.7724 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.4734, allocations: 83.78 kB / 0.7725 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.4735, allocations: 79.61 kB / 0.7726 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005254/0.474, allocations: 325.6 kB / 0.7729 GB, free: 14.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.474, allocations: 4 kB / 0.7729 GB, free: 14.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.482e-06/0.474, allocations: 0 / 0.7729 GB, free: 14.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.4741, allocations: 0 / 0.7729 GB, free: 14.09 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0009497/0.475, allocations: 495.1 kB / 0.7733 GB, free: 13.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.4751, allocations: 8.031 kB / 0.7734 GB, free: 13.54 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006278/0.4757, allocations: 80.66 kB / 0.7734 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.476, allocations: 234.1 kB / 0.7737 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.476, allocations: 20.62 kB / 0.7737 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.4761, allocations: 16.38 kB / 0.7737 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005016/0.4766, allocations: 324.3 kB / 0.774 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.4766, allocations: 0 / 0.774 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.4766, allocations: 12 kB / 0.774 GB, free: 12.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/0.4767, allocations: 20.2 kB / 0.774 GB, free: 12.78 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.4771, allocations: 252.6 kB / 0.7743 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.4787, allocations: 1.626 MB / 0.7759 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006308/0.4793, allocations: 411.2 kB / 0.7762 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.4795, allocations: 89.66 kB / 0.7763 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001345/0.4796, allocations: 81.33 kB / 0.7764 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.4797, allocations: 42.5 kB / 0.7765 GB, free: 10.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.4797, allocations: 0 / 0.7765 GB, free: 10.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0006723/0.4804, allocations: 308.5 kB / 0.7767 GB, free: 9.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.4804, allocations: 77.11 kB / 0.7768 GB, free: 9.656 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.4806, allocations: 175.2 kB / 0.777 GB, free: 9.477 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.4806, allocations: 33.7 kB / 0.777 GB, free: 9.438 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.16e-05/0.4807, allocations: 148.1 kB / 0.7772 GB, free: 9.289 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.295e-05/0.4807, allocations: 47.3 kB / 0.7772 GB, free: 9.242 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.821e-05/0.4808, allocations: 45.7 kB / 0.7773 GB, free: 9.191 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.481, allocations: 322.8 kB / 0.7776 GB, free: 8.867 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.4811, allocations: 84.8 kB / 0.7776 GB, free: 8.781 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.4813, allocations: 167.7 kB / 0.7778 GB, free: 8.586 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.4816, allocations: 241.2 kB / 0.778 GB, free: 8.316 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4816, allocations: 0 / 0.778 GB, free: 8.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000391/0.482, allocations: 279.9 kB / 0.7783 GB, free: 8.039 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.482, allocations: 11.94 kB / 0.7783 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.482, allocations: 0 / 0.7783 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.482, allocations: 7.938 kB / 0.7783 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/0.4823, allocations: 51.97 kB / 0.7784 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.4823, allocations: 11.92 kB / 0.7784 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.4825, allocations: 11.98 kB / 0.7784 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.4825, allocations: 12 kB / 0.7784 GB, free: 7.934 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000169/0.4827, allocations: 176.4 kB / 0.7786 GB, free: 7.758 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001501/0.4828, allocations: 149.5 kB / 0.7787 GB, free: 7.578 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002633/0.4831, allocations: 230.1 kB / 0.7789 GB, free: 7.316 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.4831, allocations: 0 / 0.7789 GB, free: 7.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003548/0.4835, allocations: 253.2 kB / 0.7792 GB, free: 7.062 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.4835, allocations: 6.5 kB / 0.7792 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4835, allocations: 4.344 kB / 0.7792 GB, free: 7.055 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.79e-06/0.4835, allocations: 8 kB / 0.7792 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001773/0.4837, allocations: 55.89 kB / 0.7792 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.4837, allocations: 7.938 kB / 0.7792 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.4838, allocations: 15.94 kB / 0.7793 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.4838, allocations: 16.17 kB / 0.7793 GB, free: 6.953 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.484, allocations: 188.2 kB / 0.7795 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.484, allocations: 23.69 kB / 0.7795 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/0.4844, allocations: 199.8 kB / 0.7797 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.4844, allocations: 3.938 kB / 0.7797 GB, free: 6.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4844, allocations: 4 kB / 0.7797 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.766e-05/0.4845, allocations: 104.8 kB / 0.7798 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.4845, allocations: 11.98 kB / 0.7798 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.4847, allocations: 15.97 kB / 0.7798 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.4847, allocations: 4 kB / 0.7798 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003792/0.4851, allocations: 348.5 kB / 0.7801 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003409/0.4855, allocations: 431.5 kB / 0.7806 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001007/0.4856, allocations: 75.88 kB / 0.7806 GB, free: 5.512 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001078/0.4857, allocations: 133 kB / 0.7808 GB, free: 5.383 MB / 0.545 GB Notification: Performance of Backend: time 4.31e-07/0.4857, allocations: 4 kB / 0.7808 GB, free: 5.379 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.4867, allocations: 432.1 kB / 0.7812 GB, free: 4.953 MB / 0.545 GB Notification: Performance of SimCode: time 0.0008269/0.4876, allocations: 0.7685 MB / 0.7819 GB, free: 4.137 MB / 0.545 GB Notification: Performance of Templates: time 0.007202/0.4948, allocations: 3.716 MB / 0.7855 GB, free: 472 kB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)