Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.324/1.324, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008761/0.0008761, allocations: 179.4 kB / 327.6 MB, free: 2.145 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.4 MB / 0.5785 GB, free: 20.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008066/0.0008067, allocations: 89.81 kB / 0.6831 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003479, allocations: 15.59 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1841, allocations: 106.3 MB / 0.9012 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1875/0.3716, allocations: 158.6 MB / 1.056 GB, free: 1.258 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.372, allocations: 107.9 kB / 1.056 GB, free: 1.152 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.376/0.748, allocations: 16.6 MB / 1.072 GB, free: 154 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/0.748, allocations: 0 / 1.072 GB, free: 154 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.7481, allocations: 8.625 kB / 1.072 GB, free: 154 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0008714/0.7489, allocations: 0.5358 MB / 1.073 GB, free: 153.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.749, allocations: 9.656 kB / 1.073 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008387/0.7498, allocations: 94.08 kB / 1.073 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.7502, allocations: 256.2 kB / 1.073 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.7503, allocations: 21.38 kB / 1.073 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.085e-05/0.7503, allocations: 26.84 kB / 1.073 GB, free: 153.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.7509, allocations: 363.4 kB / 1.074 GB, free: 153.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.7509, allocations: 1.469 kB / 1.074 GB, free: 153.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.7509, allocations: 14.19 kB / 1.074 GB, free: 153.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/0.751, allocations: 19.7 kB / 1.074 GB, free: 153.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004963/0.7515, allocations: 312.5 kB / 1.074 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/0.753, allocations: 1.523 MB / 1.075 GB, free: 151.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004031/0.7534, allocations: 229.3 kB / 1.076 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.7536, allocations: 118.1 kB / 1.076 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.7537, allocations: 88.17 kB / 1.076 GB, free: 151.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.7538, allocations: 32.25 kB / 1.076 GB, free: 151.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.653e-06/0.7538, allocations: 0 / 1.076 GB, free: 151.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001154/0.7549, allocations: 0.7963 MB / 1.077 GB, free: 151.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.755, allocations: 62.09 kB / 1.077 GB, free: 151.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.7551, allocations: 187.2 kB / 1.077 GB, free: 151 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.7552, allocations: 26.55 kB / 1.077 GB, free: 151 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.7552, allocations: 163.2 kB / 1.077 GB, free: 150.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.7553, allocations: 71.16 kB / 1.077 GB, free: 150.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/0.7553, allocations: 5 kB / 1.077 GB, free: 150.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.05e-05/0.7554, allocations: 326.8 kB / 1.077 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.7555, allocations: 109.6 kB / 1.078 GB, free: 150.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.7557, allocations: 169.4 kB / 1.078 GB, free: 150.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.7561, allocations: 295.8 kB / 1.078 GB, free: 150.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.7561, allocations: 8.969 kB / 1.078 GB, free: 150.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006637/0.7568, allocations: 408.5 kB / 1.078 GB, free: 150.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.7568, allocations: 6.25 kB / 1.078 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.7568, allocations: 5.156 kB / 1.078 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003535/0.7572, allocations: 97.33 kB / 1.079 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.7574, allocations: 56.89 kB / 1.079 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.7588, allocations: 1.722 MB / 1.08 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.759, allocations: 14.95 kB / 1.08 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.7591, allocations: 13.78 kB / 1.08 GB, free: 148.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.7592, allocations: 162.6 kB / 1.08 GB, free: 148.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.7592, allocations: 18.81 kB / 1.08 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004911/0.7597, allocations: 304.7 kB / 1.081 GB, free: 148.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.7598, allocations: 6.188 kB / 1.081 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.7598, allocations: 3.938 kB / 1.081 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.7598, allocations: 0.875 kB / 1.081 GB, free: 148.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007895/0.7606, allocations: 0.706 MB / 1.081 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.7606, allocations: 1.219 kB / 1.081 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.7609, allocations: 57.3 kB / 1.082 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.7609, allocations: 1.688 kB / 1.082 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.7609, allocations: 11.36 kB / 1.082 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.7609, allocations: 5.5 kB / 1.082 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7609, allocations: 0 / 1.082 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005208/0.7614, allocations: 0.5124 MB / 1.082 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.878e-05/0.7615, allocations: 114.5 kB / 1.082 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.7616, allocations: 8.656 kB / 1.082 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.7617, allocations: 19.48 kB / 1.082 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.7618, allocations: 18.67 kB / 1.082 GB, free: 147.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.7618, allocations: 8.156 kB / 1.082 GB, free: 147.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001117/0.7619, allocations: 143.6 kB / 1.082 GB, free: 147.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7619, allocations: 0 / 1.082 GB, free: 147.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003876/0.7623, allocations: 79.02 kB / 1.082 GB, free: 147.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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.0001492/0.7625, allocations: 124.5 kB / 1.083 GB, free: 147.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000642/0.7631, allocations: 420.2 kB / 1.083 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7631, allocations: 1.094 kB / 1.083 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.7633, allocations: 122.4 kB / 1.083 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.7637, allocations: 36.52 kB / 1.083 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.7648, allocations: 0.7507 MB / 1.084 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.765, allocations: 0.7727 MB / 1.085 GB, free: 146 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001864/0.7652, allocations: 59.83 kB / 1.085 GB, free: 146 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/0.7653, allocations: 23.34 kB / 1.085 GB, free: 146 MB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/0.7653, allocations: 0 / 1.085 GB, free: 146 MB / 0.698 GB Notification: Performance of Templates: time 0.006455/0.7717, allocations: 2.596 MB / 1.087 GB, free: 144.7 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)