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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.644/1.644, allocations: 293 MB / 309 MB, free: 4.812 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.001009/0.001009, allocations: 184.1 kB / 378.7 MB, free: 1.016 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.452/1.452, allocations: 205.4 MB / 0.6383 GB, free: 9.066 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.0007693/0.0007694, allocations: 91.41 kB / 0.7527 GB, free: 62.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 16 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2196, allocations: 116.4 MB / 0.9904 GB, free: 6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6644/0.8841, allocations: 145.1 MB / 1.132 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.8844, allocations: 94.7 kB / 1.132 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01509/0.8995, allocations: 7.029 MB / 1.139 GB, free: 25.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.444e-06/0.8996, allocations: 4 kB / 1.139 GB, free: 25.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.517e-05/0.8996, allocations: 4 kB / 1.139 GB, free: 25.33 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.0006895/0.9003, allocations: 0.6009 MB / 1.14 GB, free: 24.72 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.9003, allocations: 8.031 kB / 1.14 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/0.9004, allocations: 41.22 kB / 1.14 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.9009, allocations: 409 kB / 1.14 GB, free: 24.28 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.9009, allocations: 21.38 kB / 1.14 GB, free: 24.26 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/0.9009, allocations: 30.39 kB / 1.14 GB, free: 24.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005163/0.9015, allocations: 329.2 kB / 1.14 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.9015, allocations: 192 / 1.14 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.9015, allocations: 19.88 kB / 1.141 GB, free: 23.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.9015, allocations: 11.94 kB / 1.141 GB, free: 23.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.902, allocations: 244.4 kB / 1.141 GB, free: 23.69 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.9033, allocations: 1.175 MB / 1.142 GB, free: 22.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/0.9037, allocations: 244.3 kB / 1.142 GB, free: 22.42 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.9039, allocations: 101.5 kB / 1.142 GB, free: 22.32 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.904, allocations: 4.609 kB / 1.142 GB, free: 22.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.904, allocations: 30.56 kB / 1.142 GB, free: 22.28 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.252e-06/0.904, allocations: 0 / 1.142 GB, free: 22.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0005785/0.9046, allocations: 325 kB / 1.143 GB, free: 21.98 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.9046, allocations: 78.84 kB / 1.143 GB, free: 21.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.9049, allocations: 332.3 kB / 1.143 GB, free: 21.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.9049, allocations: 33.7 kB / 1.143 GB, free: 21.56 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.933e-05/0.9051, allocations: 193.3 kB / 1.143 GB, free: 21.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.9051, allocations: 56 kB / 1.143 GB, free: 21.33 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-06/0.9051, allocations: 4 kB / 1.143 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.302e-05/0.9052, allocations: 349 kB / 1.144 GB, free: 20.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.9054, allocations: 84.44 kB / 1.144 GB, free: 20.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.9055, allocations: 120.4 kB / 1.144 GB, free: 20.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.9059, allocations: 200.7 kB / 1.144 GB, free: 20.6 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9059, allocations: 4 kB / 1.144 GB, free: 20.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003891/0.9063, allocations: 259.2 kB / 1.144 GB, free: 20.36 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.9063, allocations: 111.3 kB / 1.144 GB, free: 20.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.9063, allocations: 0 / 1.144 GB, free: 20.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.9064, allocations: 4.75 kB / 1.144 GB, free: 20.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.9065, allocations: 31.88 kB / 1.144 GB, free: 20.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.9066, allocations: 9.703 kB / 1.144 GB, free: 20.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.9067, allocations: 34.41 kB / 1.144 GB, free: 20.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.9067, allocations: 4 kB / 1.144 GB, free: 20.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.101e-06/0.9067, allocations: 6.656 kB / 1.144 GB, free: 20.16 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002597/0.907, allocations: 171.1 kB / 1.145 GB, free: 20 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.907, allocations: 4 kB / 1.145 GB, free: 20 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-06/0.907, allocations: 1.266 kB / 1.145 GB, free: 20 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.9071, allocations: 30.52 kB / 1.145 GB, free: 19.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.9071, allocations: 9.859 kB / 1.145 GB, free: 19.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.497e-05/0.9072, allocations: 18.33 kB / 1.145 GB, free: 19.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.9072, allocations: 8 kB / 1.145 GB, free: 19.94 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.0001382/0.9074, allocations: 245.8 kB / 1.145 GB, free: 19.69 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.9074, allocations: 31.62 kB / 1.145 GB, free: 19.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.831e-05/0.9075, allocations: 35.47 kB / 1.145 GB, free: 19.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.9075, allocations: 1.688 kB / 1.145 GB, free: 19.63 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.9075, allocations: 4 kB / 1.145 GB, free: 19.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.9075, allocations: 5.266 kB / 1.145 GB, free: 19.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003763/0.9079, allocations: 413.7 kB / 1.145 GB, free: 19.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.9079, allocations: 0.9375 kB / 1.145 GB, free: 19.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.9081, allocations: 32.02 kB / 1.145 GB, free: 19.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.9081, allocations: 0 / 1.145 GB, free: 19.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.9081, allocations: 4.75 kB / 1.145 GB, free: 19.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.9081, allocations: 0 / 1.145 GB, free: 19.21 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9081, allocations: 4 kB / 1.145 GB, free: 19.21 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005714/0.9087, allocations: 460.1 kB / 1.146 GB, free: 18.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.121e-05/0.9088, allocations: 132.4 kB / 1.146 GB, free: 18.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.308e-05/0.9089, allocations: 4.688 kB / 1.146 GB, free: 18.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.909, allocations: 14.81 kB / 1.146 GB, free: 18.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.9091, allocations: 12.69 kB / 1.146 GB, free: 18.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.9091, allocations: 4 kB / 1.146 GB, free: 18.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001948/0.9093, allocations: 240.3 kB / 1.146 GB, free: 18.39 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.21e-07/0.9093, allocations: 0 / 1.146 GB, free: 18.39 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003421/0.9096, allocations: 92.62 kB / 1.146 GB, free: 18.3 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.0001058/0.9098, allocations: 106.7 kB / 1.146 GB, free: 18.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000506/0.9103, allocations: 296.2 kB / 1.147 GB, free: 17.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.9103, allocations: 0 / 1.147 GB, free: 17.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.9104, allocations: 104.5 kB / 1.147 GB, free: 17.84 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.911, allocations: 74.73 kB / 1.147 GB, free: 17.78 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008761/0.9118, allocations: 0.6559 MB / 1.147 GB, free: 17.14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.9121, allocations: 0.7783 MB / 1.148 GB, free: 16.38 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.9122, allocations: 29.02 kB / 1.148 GB, free: 16.36 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.9123, allocations: 23.44 kB / 1.148 GB, free: 16.34 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/0.9123, allocations: 0 / 1.148 GB, free: 16.34 MB / 0.7292 GB Notification: Performance of Templates: time 0.006235/0.9185, allocations: 2.945 MB / 1.151 GB, free: 14.67 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)