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.595/1.595, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001054/0.001054, allocations: 180.9 kB / 361.4 MB, free: 6.867 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.436/1.436, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007351/0.0007351, allocations: 93.97 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.617e-05/1.619e-05, allocations: 0 / 0.8518 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6726/0.6726, allocations: 115.3 MB / 0.9644 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2062/0.8789, allocations: 159.2 MB / 1.12 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/0.8793, allocations: 91.94 kB / 1.12 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03661/0.9159, allocations: 14.1 MB / 1.134 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.697e-06/0.916, allocations: 0 / 1.134 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.089e-05/0.916, allocations: 7.938 kB / 1.134 GB, free: 14.36 MB / 0.7448 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.0007475/0.9168, allocations: 462.3 kB / 1.134 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.9168, allocations: 8.031 kB / 1.134 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007915/0.9176, allocations: 88.11 kB / 1.134 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.918, allocations: 238.6 kB / 1.135 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.918, allocations: 10.69 kB / 1.135 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.9181, allocations: 12 kB / 1.135 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003537/0.9184, allocations: 184.6 kB / 1.135 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.9189, allocations: 291.5 kB / 1.135 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.9189, allocations: 0 / 1.135 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.9189, allocations: 4 kB / 1.135 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/0.919, allocations: 15.98 kB / 1.135 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.9207, allocations: 1.582 MB / 1.137 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/0.9214, allocations: 395.2 kB / 1.137 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.9215, allocations: 85.67 kB / 1.137 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000182/0.9217, allocations: 97.03 kB / 1.137 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.9218, allocations: 30.56 kB / 1.137 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.854e-06/0.9218, allocations: 224 / 1.137 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0006726/0.9224, allocations: 260.4 kB / 1.137 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.9225, allocations: 77.11 kB / 1.137 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.9227, allocations: 143.8 kB / 1.138 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.9227, allocations: 25.7 kB / 1.138 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.556e-05/0.9228, allocations: 155.8 kB / 1.138 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/0.9228, allocations: 47.36 kB / 1.138 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.9228, allocations: 0 / 1.138 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.923, allocations: 322.8 kB / 1.138 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.802e-05/0.9231, allocations: 67.97 kB / 1.138 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.9232, allocations: 146.9 kB / 1.138 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002466/0.9235, allocations: 113 kB / 1.138 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9235, allocations: 4 kB / 1.138 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004563/0.9239, allocations: 258.8 kB / 1.139 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003749/0.9243, allocations: 0.9653 MB / 1.14 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.9244, allocations: 0 / 1.14 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.9244, allocations: 11.94 kB / 1.14 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002465/0.9246, allocations: 59.84 kB / 1.14 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.9247, allocations: 4 kB / 1.14 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.9248, allocations: 21.05 kB / 1.14 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.9248, allocations: 12 kB / 1.14 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.9249, allocations: 7.984 kB / 1.14 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003827/0.9253, allocations: 199.9 kB / 1.14 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.9253, allocations: 4 kB / 1.14 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.804e-06/0.9253, allocations: 8.031 kB / 1.14 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.9255, allocations: 47.97 kB / 1.14 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.9255, allocations: 11.92 kB / 1.14 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.9256, allocations: 8 kB / 1.14 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.9256, allocations: 8 kB / 1.14 GB, free: 7.445 MB / 0.7448 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 () * 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 9.313e-05/0.9257, allocations: 113.5 kB / 1.14 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/0.9258, allocations: 17.88 kB / 1.14 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004355/0.9262, allocations: 199.1 kB / 1.14 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.9263, allocations: 2.062 kB / 1.14 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/0.9263, allocations: 4 kB / 1.14 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.9263, allocations: 3.938 kB / 1.14 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.9277, allocations: 0.9192 MB / 1.141 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.9277, allocations: 0 / 1.141 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001322/0.9278, allocations: 27.98 kB / 1.141 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.9278, allocations: 11.98 kB / 1.141 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.9279, allocations: 4 kB / 1.141 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.9279, allocations: 11.89 kB / 1.141 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.9279, allocations: 5.375 kB / 1.141 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005519/0.9284, allocations: 0.5702 MB / 1.142 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.9286, allocations: 112.8 kB / 1.142 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.9286, allocations: 11.94 kB / 1.142 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.9288, allocations: 15.98 kB / 1.142 GB, free: 5.16 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.331e-05/0.9289, allocations: 19.92 kB / 1.142 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.929, allocations: 4 kB / 1.142 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001055/0.9291, allocations: 126.1 kB / 1.142 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9291, allocations: 0 / 1.142 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005961/0.9297, allocations: 71.95 kB / 1.142 GB, free: 4.945 MB / 0.7448 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 () * 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.0002137/0.9299, allocations: 134.9 kB / 1.142 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000447/0.9304, allocations: 268.4 kB / 1.143 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.9304, allocations: 4 kB / 1.143 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.9305, allocations: 75.42 kB / 1.143 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.9308, allocations: 28.73 kB / 1.143 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007324/0.9316, allocations: 356.9 kB / 1.143 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.932, allocations: 0.7529 MB / 1.144 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002492/0.9323, allocations: 82.88 kB / 1.144 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.618e-05/0.9323, allocations: 23.42 kB / 1.144 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of SimCode: time 2.8e-07/0.9323, allocations: 0 / 1.144 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of Templates: time 0.00483/0.9372, allocations: 1.709 MB / 1.146 GB, free: 1.48 MB / 0.7448 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)