Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.642/1.642, allocations: 288.3 MB / 303.2 MB, free: 8.203 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.00114/0.00114, allocations: 175.4 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.69/1.69, allocations: 205.4 MB / 0.6306 GB, free: 9.992 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.0008315/0.0008313, allocations: 94.91 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003892, allocations: 10.84 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2149, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.721/0.936, allocations: 144 MB / 1.12 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.9363, allocations: 92.58 kB / 1.12 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01483/0.9511, allocations: 6.995 MB / 1.127 GB, free: 31.56 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.355e-06/0.9512, allocations: 0 / 1.127 GB, free: 31.56 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.528e-05/0.9512, allocations: 11.59 kB / 1.127 GB, free: 31.56 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008471/0.9521, allocations: 0.5975 MB / 1.128 GB, free: 31.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.9521, allocations: 11.69 kB / 1.128 GB, free: 31.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.124e-05/0.9522, allocations: 38.84 kB / 1.128 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004862/0.9527, allocations: 397.3 kB / 1.128 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.9527, allocations: 19.78 kB / 1.128 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.9528, allocations: 34.47 kB / 1.128 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/0.9533, allocations: 331.9 kB / 1.128 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.9533, allocations: 0 / 1.128 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.9534, allocations: 14.34 kB / 1.128 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.9534, allocations: 11.67 kB / 1.128 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.9538, allocations: 250.4 kB / 1.129 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.9551, allocations: 1.164 MB / 1.13 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004671/0.9556, allocations: 251.9 kB / 1.13 GB, free: 29.83 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.9556, allocations: 3.594 kB / 1.13 GB, free: 29.83 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.9557, allocations: 38.44 kB / 1.13 GB, free: 29.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.9557, allocations: 0 / 1.13 GB, free: 29.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0005853/0.9563, allocations: 311.4 kB / 1.13 GB, free: 29.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.9563, allocations: 85.06 kB / 1.13 GB, free: 29.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.9566, allocations: 306.6 kB / 1.131 GB, free: 29.47 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.9566, allocations: 29.64 kB / 1.131 GB, free: 29.44 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.9568, allocations: 193.2 kB / 1.131 GB, free: 29.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.9568, allocations: 57.09 kB / 1.131 GB, free: 29.28 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-06/0.9568, allocations: 0 / 1.131 GB, free: 29.28 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.9569, allocations: 344.1 kB / 1.131 GB, free: 28.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.9571, allocations: 86.12 kB / 1.131 GB, free: 28.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.9573, allocations: 123.2 kB / 1.132 GB, free: 28.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.9574, allocations: 93.7 kB / 1.132 GB, free: 28.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9574, allocations: 3.875 kB / 1.132 GB, free: 28.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003655/0.9578, allocations: 262.1 kB / 1.132 GB, free: 28.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.773e-05/0.9579, allocations: 271.7 kB / 1.132 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.9579, allocations: 0 / 1.132 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.958, allocations: 7.906 kB / 1.132 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.9581, allocations: 34.86 kB / 1.132 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.9581, allocations: 3.984 kB / 1.132 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.9583, allocations: 26.75 kB / 1.132 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.9583, allocations: 7.969 kB / 1.132 GB, free: 28.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.602e-06/0.9583, allocations: 3.844 kB / 1.132 GB, free: 28.51 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002535/0.9586, allocations: 179.1 kB / 1.132 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/0.9586, allocations: 3.953 kB / 1.132 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-06/0.9586, allocations: 3.844 kB / 1.132 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.9587, allocations: 26.05 kB / 1.132 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.9587, allocations: 11.84 kB / 1.132 GB, free: 28.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.625e-05/0.9588, allocations: 23.28 kB / 1.132 GB, free: 28.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.9588, allocations: 3.875 kB / 1.132 GB, free: 28.46 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (actSet.y,actAct.y,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001916/0.959, allocations: 241.6 kB / 1.133 GB, free: 28.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.9591, allocations: 31 kB / 1.133 GB, free: 28.25 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.635e-05/0.9592, allocations: 38.95 kB / 1.133 GB, free: 28.24 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.9592, allocations: 7.859 kB / 1.133 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.9592, allocations: 0 / 1.133 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.9592, allocations: 0 / 1.133 GB, free: 28.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.9595, allocations: 402.1 kB / 1.133 GB, free: 27.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.9595, allocations: 3.938 kB / 1.133 GB, free: 27.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.9597, allocations: 31.2 kB / 1.133 GB, free: 27.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.9597, allocations: 4 kB / 1.133 GB, free: 27.96 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.9597, allocations: 7.125 kB / 1.133 GB, free: 27.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.9597, allocations: 3.953 kB / 1.133 GB, free: 27.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.9597, allocations: 3.984 kB / 1.133 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000577/0.9603, allocations: 447.7 kB / 1.134 GB, free: 27.78 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.9604, allocations: 136.9 kB / 1.134 GB, free: 27.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.9605, allocations: 3.25 kB / 1.134 GB, free: 27.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.9606, allocations: 18.86 kB / 1.134 GB, free: 27.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.369e-05/0.9607, allocations: 15.84 kB / 1.134 GB, free: 27.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.9607, allocations: 3.844 kB / 1.134 GB, free: 27.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001899/0.9609, allocations: 246.7 kB / 1.134 GB, free: 27.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9609, allocations: 0 / 1.134 GB, free: 27.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000348/0.9613, allocations: 92.69 kB / 1.134 GB, free: 27.51 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (actSet.y,actAct.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.000129/0.9614, allocations: 106.1 kB / 1.134 GB, free: 27.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00049/0.9619, allocations: 291.6 kB / 1.135 GB, free: 27.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.9619, allocations: 0 / 1.135 GB, free: 27.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.9621, allocations: 106.4 kB / 1.135 GB, free: 27.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.9625, allocations: 64.3 kB / 1.135 GB, free: 27.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009105/0.9634, allocations: 0.6586 MB / 1.135 GB, free: 26.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.9637, allocations: 0.7835 MB / 1.136 GB, free: 26.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.9639, allocations: 25.69 kB / 1.136 GB, free: 26.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.9639, allocations: 22.94 kB / 1.136 GB, free: 26.16 MB / 0.698 GB Notification: Performance of SimCode: time 2.31e-07/0.9639, allocations: 0 / 1.136 GB, free: 26.16 MB / 0.698 GB Notification: Performance of Templates: time 0.005232/0.9692, allocations: 2.91 MB / 1.139 GB, free: 24.75 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)