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.409/2.409, allocations: 284.8 MB / 297.3 MB, free: 6.344 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.001512/0.001511, allocations: 187.9 kB / 365.7 MB, free: 2.57 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 1.969/1.969, allocations: 205.2 MB / 0.6241 GB, free: 8.184 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.001031/0.00103, allocations: 101.1 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.601e-05/4.613e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9634/0.9635, allocations: 115.2 MB / 0.97 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/1.313, allocations: 164.6 MB / 1.131 GB, free: 3.797 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003715/1.314, allocations: 97.16 kB / 1.131 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0705/1.384, allocations: 16.47 MB / 1.147 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.542e-06/1.384, allocations: 0 / 1.147 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.966e-05/1.384, allocations: 4 kB / 1.147 GB, free: 3.172 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.001109/1.385, allocations: 0.5172 MB / 1.147 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/1.385, allocations: 8.031 kB / 1.147 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/1.387, allocations: 96.81 kB / 1.147 GB, free: 2.512 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005588/1.387, allocations: 259 kB / 1.148 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/1.387, allocations: 20.44 kB / 1.148 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8e-05/1.387, allocations: 27.98 kB / 1.148 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008514/1.388, allocations: 349.1 kB / 1.148 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/1.388, allocations: 0 / 1.148 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.008e-05/1.388, allocations: 15.94 kB / 1.148 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.198e-05/1.388, allocations: 20.42 kB / 1.148 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007945/1.389, allocations: 301.6 kB / 1.148 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002769/1.392, allocations: 1.533 MB / 1.15 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007087/1.393, allocations: 234.3 kB / 1.15 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000271/1.393, allocations: 120.8 kB / 1.15 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000204/1.393, allocations: 81.11 kB / 1.15 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/1.393, allocations: 38.56 kB / 1.15 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 2.915e-06/1.393, allocations: 0 / 1.15 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of matching and sorting (n=19): time 0.001728/1.395, allocations: 0.6895 MB / 1.151 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/1.395, allocations: 59.41 kB / 1.151 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/1.395, allocations: 165.9 kB / 1.151 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/1.396, allocations: 29.7 kB / 1.151 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/1.396, allocations: 167.9 kB / 1.151 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.831e-05/1.396, allocations: 67 kB / 1.152 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/1.396, allocations: 4 kB / 1.152 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.396, allocations: 330.8 kB / 1.152 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/1.396, allocations: 104 kB / 1.152 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/1.397, allocations: 175.5 kB / 1.152 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/1.397, allocations: 127.9 kB / 1.152 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.397, allocations: 4 kB / 1.152 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001266/1.398, allocations: 408.1 kB / 1.153 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/1.398, allocations: 9.094 kB / 1.153 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.398, allocations: 0 / 1.153 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006057/1.399, allocations: 92.97 kB / 1.153 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/1.399, allocations: 59.83 kB / 1.153 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002757/1.402, allocations: 1.723 MB / 1.154 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004053/1.403, allocations: 16.02 kB / 1.154 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/1.403, allocations: 10.42 kB / 1.154 GB, free: 10.83 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.0001489/1.403, allocations: 126.8 kB / 1.155 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/1.403, allocations: 15.81 kB / 1.155 GB, free: 10.69 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008005/1.404, allocations: 298 kB / 1.155 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/1.404, allocations: 0 / 1.155 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/1.404, allocations: 0 / 1.155 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/1.404, allocations: 0 / 1.155 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/1.405, allocations: 0.7029 MB / 1.156 GB, free: 9.625 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/1.405, allocations: 4 kB / 1.156 GB, free: 9.621 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/1.406, allocations: 51.95 kB / 1.156 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/1.406, allocations: 0 / 1.156 GB, free: 9.57 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/1.406, allocations: 8 kB / 1.156 GB, free: 9.562 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.388e-06/1.406, allocations: 7.953 kB / 1.156 GB, free: 9.555 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/1.406, allocations: 3.938 kB / 1.156 GB, free: 9.551 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/1.407, allocations: 0.5268 MB / 1.156 GB, free: 8.992 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/1.407, allocations: 120.9 kB / 1.156 GB, free: 8.855 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/1.407, allocations: 0 / 1.156 GB, free: 8.855 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/1.408, allocations: 15.98 kB / 1.156 GB, free: 8.84 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.554e-05/1.408, allocations: 23.92 kB / 1.156 GB, free: 8.816 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/1.408, allocations: 12 kB / 1.156 GB, free: 8.805 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000198/1.408, allocations: 141.5 kB / 1.156 GB, free: 8.668 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.71e-07/1.408, allocations: 0 / 1.156 GB, free: 8.668 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005541/1.409, allocations: 79.94 kB / 1.157 GB, free: 8.59 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.0002459/1.409, allocations: 123.1 kB / 1.157 GB, free: 8.461 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001117/1.41, allocations: 414.5 kB / 1.157 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.41, allocations: 0 / 1.157 GB, free: 8.043 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002853/1.41, allocations: 121 kB / 1.157 GB, free: 7.926 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/1.411, allocations: 32.12 kB / 1.157 GB, free: 7.895 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/1.412, allocations: 493.5 kB / 1.158 GB, free: 7.391 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/1.413, allocations: 0.7829 MB / 1.158 GB, free: 6.582 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003203/1.413, allocations: 57.91 kB / 1.159 GB, free: 6.531 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/1.413, allocations: 19.44 kB / 1.159 GB, free: 6.512 MB / 0.7605 GB Notification: Performance of SimCode: time 9.42e-07/1.413, allocations: 0 / 1.159 GB, free: 6.512 MB / 0.7605 GB Notification: Performance of Templates: time 0.009175/1.422, allocations: 2.574 MB / 1.161 GB, free: 4.008 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)