Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.48/2.48, allocations: 285 MB / 292.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001489, allocations: 176.9 kB / 360.7 MB, free: 7.207 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.3 MB / 0.6192 GB, free: 12.09 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 97.11 kB / 0.7322 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.986e-05/1.996e-05, allocations: 4 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8805/0.8806, allocations: 115.2 MB / 0.9634 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2707/1.151, allocations: 163.9 MB / 1.124 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004318/1.152, allocations: 98.84 kB / 1.124 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0745/1.226, allocations: 16.4 MB / 1.14 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.874e-06/1.226, allocations: 0 / 1.14 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.762e-05/1.226, allocations: 4 kB / 1.14 GB, free: 7.934 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001447/1.228, allocations: 0.506 MB / 1.14 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/1.228, allocations: 13.25 kB / 1.14 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/1.23, allocations: 100.8 kB / 1.14 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007286/1.231, allocations: 256.6 kB / 1.14 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/1.231, allocations: 8 kB / 1.14 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-05/1.231, allocations: 12 kB / 1.141 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000845/1.232, allocations: 228.9 kB / 1.141 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/1.233, allocations: 336.1 kB / 1.141 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/1.233, allocations: 0 / 1.141 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.646e-05/1.233, allocations: 4 kB / 1.141 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.97e-05/1.233, allocations: 16.42 kB / 1.141 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003481/1.236, allocations: 1.478 MB / 1.143 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008836/1.237, allocations: 215.7 kB / 1.143 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/1.238, allocations: 104.8 kB / 1.143 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/1.238, allocations: 91.06 kB / 1.143 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/1.238, allocations: 42.5 kB / 1.143 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 3.837e-06/1.238, allocations: 0 / 1.143 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.002807/1.241, allocations: 0.7116 MB / 1.144 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/1.241, allocations: 55.34 kB / 1.144 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003103/1.241, allocations: 161.9 kB / 1.144 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/1.241, allocations: 25.7 kB / 1.144 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/1.241, allocations: 167.9 kB / 1.144 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/1.241, allocations: 63.02 kB / 1.144 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/1.242, allocations: 4 kB / 1.144 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001961/1.242, allocations: 331 kB / 1.144 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/1.242, allocations: 99.97 kB / 1.144 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004323/1.243, allocations: 158 kB / 1.145 GB, free: 2.402 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007216/1.243, allocations: 157.6 kB / 1.145 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.243, allocations: 0 / 1.145 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001754/1.245, allocations: 401.9 kB / 1.145 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/1.245, allocations: 4.812 kB / 1.145 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/1.245, allocations: 11.98 kB / 1.145 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007072/1.246, allocations: 88.72 kB / 1.145 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/1.246, allocations: 59.89 kB / 1.145 GB, free: 1.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003355/1.25, allocations: 1.655 MB / 1.147 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/1.25, allocations: 27.48 kB / 1.147 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.885e-05/1.25, allocations: 13.33 kB / 1.147 GB, free: 15.88 MB / 0.7605 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 () * 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.0001665/1.251, allocations: 104.8 kB / 1.147 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.79e-05/1.251, allocations: 15.81 kB / 1.147 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/1.252, allocations: 291.4 kB / 1.147 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/1.252, allocations: 11.98 kB / 1.147 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/1.252, allocations: 0 / 1.147 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/1.252, allocations: 0 / 1.147 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/1.254, allocations: 0.6651 MB / 1.148 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.254, allocations: 0 / 1.148 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007341/1.255, allocations: 59.89 kB / 1.148 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/1.255, allocations: 0 / 1.148 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/1.255, allocations: 4 kB / 1.148 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/1.255, allocations: 5.5 kB / 1.148 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.255, allocations: 0 / 1.148 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/1.257, allocations: 0.5338 MB / 1.149 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/1.257, allocations: 116.9 kB / 1.149 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.787e-05/1.257, allocations: 8.062 kB / 1.149 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003945/1.257, allocations: 7.984 kB / 1.149 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/1.257, allocations: 15.88 kB / 1.149 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/1.257, allocations: 12 kB / 1.149 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002164/1.258, allocations: 129 kB / 1.149 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.72e-07/1.258, allocations: 0 / 1.149 GB, free: 13.81 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008623/1.259, allocations: 71.94 kB / 1.149 GB, free: 13.74 MB / 0.7605 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 () * 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.0002626/1.259, allocations: 119.2 kB / 1.149 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001347/1.26, allocations: 393.3 kB / 1.149 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/1.26, allocations: 0 / 1.149 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003641/1.261, allocations: 115.9 kB / 1.15 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006494/1.261, allocations: 24.48 kB / 1.15 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/1.263, allocations: 489.2 kB / 1.15 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/1.264, allocations: 0.775 MB / 1.151 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004742/1.264, allocations: 61.08 kB / 1.151 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/1.265, allocations: 21.22 kB / 1.151 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of SimCode: time 1.103e-06/1.265, allocations: 0 / 1.151 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of Templates: time 0.01124/1.276, allocations: 2.419 MB / 1.153 GB, free: 9.355 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1)