Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.741/1.741, allocations: 288.3 MB / 303.2 MB, free: 8.164 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 173.1 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205.4 MB / 0.6306 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001329/0.00133, allocations: 95.47 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004233, allocations: 15.86 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2588, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8878/1.147, allocations: 160 MB / 1.136 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/1.147, allocations: 99.53 kB / 1.136 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03159/1.179, allocations: 14.25 MB / 1.15 GB, free: 25.38 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.114e-06/1.179, allocations: 0 / 1.15 GB, free: 25.38 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.245e-05/1.179, allocations: 3.844 kB / 1.15 GB, free: 25.38 MB / 0.698 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.0008032/1.179, allocations: 483.4 kB / 1.15 GB, free: 24.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.18, allocations: 11.73 kB / 1.15 GB, free: 24.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000692/1.18, allocations: 85.72 kB / 1.15 GB, free: 24.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/1.181, allocations: 238.2 kB / 1.15 GB, free: 24.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/1.181, allocations: 11.98 kB / 1.15 GB, free: 24.65 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/1.181, allocations: 14.78 kB / 1.15 GB, free: 24.65 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/1.181, allocations: 320 kB / 1.151 GB, free: 24.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/1.181, allocations: 0 / 1.151 GB, free: 24.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/1.181, allocations: 7.656 kB / 1.151 GB, free: 24.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.461e-05/1.181, allocations: 27.36 kB / 1.151 GB, free: 24.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003293/1.182, allocations: 244 kB / 1.151 GB, free: 24.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/1.183, allocations: 1.639 MB / 1.153 GB, free: 22.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005902/1.184, allocations: 414.2 kB / 1.153 GB, free: 22.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/1.184, allocations: 85.11 kB / 1.153 GB, free: 22.51 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/1.184, allocations: 42.33 kB / 1.153 GB, free: 22.46 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.654e-06/1.184, allocations: 0 / 1.153 GB, free: 22.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.0006615/1.185, allocations: 298.2 kB / 1.153 GB, free: 22.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/1.185, allocations: 77.11 kB / 1.154 GB, free: 22.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/1.185, allocations: 151.2 kB / 1.154 GB, free: 21.99 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/1.185, allocations: 29.64 kB / 1.154 GB, free: 21.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/1.185, allocations: 159 kB / 1.154 GB, free: 21.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/1.185, allocations: 51.06 kB / 1.154 GB, free: 21.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/1.185, allocations: 7.5 kB / 1.154 GB, free: 21.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.185, allocations: 328.7 kB / 1.154 GB, free: 21.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/1.185, allocations: 80.06 kB / 1.154 GB, free: 21.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/1.185, allocations: 149.6 kB / 1.154 GB, free: 21.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/1.186, allocations: 96.97 kB / 1.155 GB, free: 21.17 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/1.186, allocations: 4 kB / 1.155 GB, free: 21.17 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003257/1.186, allocations: 255.8 kB / 1.155 GB, free: 20.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003629/1.186, allocations: 0.9714 MB / 1.156 GB, free: 19.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.186, allocations: 4.344 kB / 1.156 GB, free: 19.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.186, allocations: 11.95 kB / 1.156 GB, free: 19.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/1.187, allocations: 55.02 kB / 1.156 GB, free: 19.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/1.187, allocations: 11.92 kB / 1.156 GB, free: 19.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/1.187, allocations: 19.27 kB / 1.156 GB, free: 19.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/1.187, allocations: 8 kB / 1.156 GB, free: 19.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/1.187, allocations: 4 kB / 1.156 GB, free: 19.84 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002592/1.187, allocations: 215.4 kB / 1.156 GB, free: 19.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/1.187, allocations: 4 kB / 1.156 GB, free: 19.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.278e-06/1.187, allocations: 7.984 kB / 1.156 GB, free: 19.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/1.187, allocations: 47.91 kB / 1.156 GB, free: 19.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/1.187, allocations: 4 kB / 1.156 GB, free: 19.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.422e-05/1.187, allocations: 11.48 kB / 1.156 GB, free: 19.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/1.187, allocations: 11.19 kB / 1.156 GB, free: 19.61 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001643/1.188, allocations: 226.9 kB / 1.156 GB, free: 19.39 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/1.188, allocations: 15.81 kB / 1.156 GB, free: 19.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/1.188, allocations: 203 kB / 1.157 GB, free: 19.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/1.188, allocations: 0 / 1.157 GB, free: 19.22 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/1.188, allocations: 0 / 1.157 GB, free: 19.22 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.188, allocations: 3.984 kB / 1.157 GB, free: 19.22 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/1.189, allocations: 0.9694 MB / 1.158 GB, free: 18.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.189, allocations: 8 kB / 1.158 GB, free: 18.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/1.189, allocations: 39.22 kB / 1.158 GB, free: 18.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/1.189, allocations: 7.953 kB / 1.158 GB, free: 18.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/1.189, allocations: 4 kB / 1.158 GB, free: 18.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.189, allocations: 4 kB / 1.158 GB, free: 18.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.189, allocations: 4 kB / 1.158 GB, free: 18.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003548/1.19, allocations: 0.5866 MB / 1.158 GB, free: 17.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-05/1.19, allocations: 110.1 kB / 1.158 GB, free: 17.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/1.19, allocations: 6.688 kB / 1.158 GB, free: 17.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/1.19, allocations: 15.05 kB / 1.158 GB, free: 17.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/1.19, allocations: 26.5 kB / 1.158 GB, free: 17.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/1.19, allocations: 8 kB / 1.158 GB, free: 17.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 9.877e-05/1.19, allocations: 135 kB / 1.158 GB, free: 17.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.19, allocations: 0 / 1.158 GB, free: 17.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004928/1.191, allocations: 86.38 kB / 1.159 GB, free: 17.17 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001749/1.191, allocations: 133.9 kB / 1.159 GB, free: 17.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003841/1.191, allocations: 293.5 kB / 1.159 GB, free: 16.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.191, allocations: 1.25 kB / 1.159 GB, free: 16.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.892e-05/1.191, allocations: 82.27 kB / 1.159 GB, free: 16.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/1.192, allocations: 30.83 kB / 1.159 GB, free: 16.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007062/1.192, allocations: 0.5614 MB / 1.16 GB, free: 16.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/1.193, allocations: 0.7513 MB / 1.16 GB, free: 15.37 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001904/1.193, allocations: 73.47 kB / 1.16 GB, free: 15.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/1.193, allocations: 23.36 kB / 1.16 GB, free: 15.28 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/1.193, allocations: 0 / 1.16 GB, free: 15.28 MB / 0.698 GB Notification: Performance of Templates: time 0.003994/1.197, allocations: 1.67 MB / 1.162 GB, free: 13.66 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.GeneralizedSensor.pipe 2>&1)