Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.738/1.738, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001164/0.001163, allocations: 182.9 kB / 377.1 MB, free: 1.543 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.637/1.637, allocations: 205.4 MB / 0.6367 GB, free: 8.559 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.0009279/0.0009277, allocations: 88.3 kB / 0.751 GB, free: 63.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 12 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.26, allocations: 116.3 MB / 0.9884 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7507/1.011, allocations: 145 MB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/1.011, allocations: 86.81 kB / 1.13 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01532/1.026, allocations: 6.996 MB / 1.137 GB, free: 26.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.114e-06/1.026, allocations: 4 kB / 1.137 GB, free: 26.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.574e-05/1.026, allocations: 8 kB / 1.137 GB, free: 26.19 MB / 0.7292 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.0007511/1.027, allocations: 0.6008 MB / 1.137 GB, free: 25.58 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/1.027, allocations: 12.58 kB / 1.137 GB, free: 25.57 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.539e-05/1.027, allocations: 41.59 kB / 1.138 GB, free: 25.53 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004679/1.028, allocations: 400.3 kB / 1.138 GB, free: 25.14 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/1.028, allocations: 28 kB / 1.138 GB, free: 25.12 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/1.028, allocations: 27.91 kB / 1.138 GB, free: 25.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/1.028, allocations: 323.8 kB / 1.138 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/1.028, allocations: 8.844 kB / 1.138 GB, free: 24.79 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/1.028, allocations: 12.44 kB / 1.138 GB, free: 24.78 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/1.028, allocations: 8 kB / 1.138 GB, free: 24.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004156/1.029, allocations: 239.5 kB / 1.139 GB, free: 24.56 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/1.03, allocations: 1.171 MB / 1.14 GB, free: 23.53 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/1.031, allocations: 253.2 kB / 1.14 GB, free: 23.29 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/1.031, allocations: 4 kB / 1.14 GB, free: 23.29 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/1.031, allocations: 35.36 kB / 1.14 GB, free: 23.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/1.031, allocations: 0 / 1.14 GB, free: 23.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0005951/1.031, allocations: 314.1 kB / 1.14 GB, free: 22.96 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/1.031, allocations: 85.67 kB / 1.14 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/1.032, allocations: 307.5 kB / 1.141 GB, free: 22.58 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/1.032, allocations: 25.7 kB / 1.141 GB, free: 22.55 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/1.032, allocations: 201.9 kB / 1.141 GB, free: 22.36 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/1.032, allocations: 52.06 kB / 1.141 GB, free: 22.31 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-06/1.032, allocations: 0.75 kB / 1.141 GB, free: 22.31 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.726e-05/1.032, allocations: 341.4 kB / 1.141 GB, free: 21.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/1.032, allocations: 83.45 kB / 1.141 GB, free: 21.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/1.032, allocations: 123.7 kB / 1.141 GB, free: 21.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/1.032, allocations: 89.72 kB / 1.142 GB, free: 21.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.033, allocations: 32 / 1.142 GB, free: 21.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003945/1.033, allocations: 268.4 kB / 1.142 GB, free: 21.45 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.833e-05/1.033, allocations: 276 kB / 1.142 GB, free: 21.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/1.033, allocations: 2 kB / 1.142 GB, free: 21.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/1.033, allocations: 4 kB / 1.142 GB, free: 21.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/1.033, allocations: 32.64 kB / 1.142 GB, free: 21.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/1.033, allocations: 4.656 kB / 1.142 GB, free: 21.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/1.033, allocations: 30.56 kB / 1.142 GB, free: 21.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/1.033, allocations: 8 kB / 1.142 GB, free: 21.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.012e-06/1.033, allocations: 4 kB / 1.142 GB, free: 21.09 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002648/1.034, allocations: 165.7 kB / 1.142 GB, free: 20.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/1.034, allocations: 13.39 kB / 1.142 GB, free: 20.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-06/1.034, allocations: 0 / 1.142 GB, free: 20.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/1.034, allocations: 32.94 kB / 1.142 GB, free: 20.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-06/1.034, allocations: 0 / 1.142 GB, free: 20.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.89e-05/1.034, allocations: 24.88 kB / 1.142 GB, free: 20.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/1.034, allocations: 4.75 kB / 1.142 GB, free: 20.87 MB / 0.7292 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.0001451/1.034, allocations: 242.4 kB / 1.143 GB, free: 20.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/1.034, allocations: 35.56 kB / 1.143 GB, free: 20.59 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.574e-05/1.034, allocations: 41.77 kB / 1.143 GB, free: 20.56 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/1.034, allocations: 4 kB / 1.143 GB, free: 20.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.034, allocations: 4.656 kB / 1.143 GB, free: 20.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/1.034, allocations: 1.594 kB / 1.143 GB, free: 20.55 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003752/1.035, allocations: 406.5 kB / 1.143 GB, free: 20.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.035, allocations: 0.9375 kB / 1.143 GB, free: 20.18 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/1.035, allocations: 28.59 kB / 1.143 GB, free: 20.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/1.035, allocations: 0 / 1.143 GB, free: 20.15 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/1.035, allocations: 0 / 1.143 GB, free: 20.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/1.035, allocations: 14.38 kB / 1.143 GB, free: 20.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/1.035, allocations: 0 / 1.143 GB, free: 20.14 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/1.035, allocations: 457.3 kB / 1.144 GB, free: 19.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.377e-05/1.036, allocations: 131.7 kB / 1.144 GB, free: 19.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.454e-05/1.036, allocations: 5.062 kB / 1.144 GB, free: 19.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/1.036, allocations: 14.95 kB / 1.144 GB, free: 19.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/1.036, allocations: 12.17 kB / 1.144 GB, free: 19.54 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/1.036, allocations: 4 kB / 1.144 GB, free: 19.54 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002131/1.036, allocations: 242.2 kB / 1.144 GB, free: 19.33 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.81e-07/1.036, allocations: 0 / 1.144 GB, free: 19.33 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003558/1.036, allocations: 99.59 kB / 1.144 GB, free: 19.23 MB / 0.7292 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.0001287/1.037, allocations: 112.6 kB / 1.144 GB, free: 19.11 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005244/1.037, allocations: 292.1 kB / 1.144 GB, free: 18.85 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.037, allocations: 0 / 1.144 GB, free: 18.85 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/1.037, allocations: 97.33 kB / 1.144 GB, free: 18.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/1.038, allocations: 75.95 kB / 1.145 GB, free: 18.71 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009021/1.039, allocations: 0.6529 MB / 1.145 GB, free: 18.08 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/1.039, allocations: 0.7864 MB / 1.146 GB, free: 17.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001299/1.039, allocations: 29.73 kB / 1.146 GB, free: 17.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/1.039, allocations: 24 kB / 1.146 GB, free: 17.27 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/1.039, allocations: 0 / 1.146 GB, free: 17.27 MB / 0.7292 GB Notification: Performance of Templates: time 0.006383/1.045, allocations: 2.903 MB / 1.149 GB, free: 15.63 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)