Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008766/0.0008767, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008093/0.0008095, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.59/1.59, allocations: 252 MB / 0.5102 GB, free: 4.824 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005135/0.0005137, allocations: 16 kB / 0.6243 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5609/0.5615, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003244/0.5647, allocations: 2.2 MB / 0.7303 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.5663, allocations: 0.9049 MB / 0.7312 GB, free: 8.277 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002146/0.5665, allocations: 11.94 kB / 0.7312 GB, free: 8.266 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.5667, allocations: 39.64 kB / 0.7312 GB, free: 8.227 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.5668, allocations: 43.59 kB / 0.7312 GB, free: 8.184 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.5672, allocations: 130.5 kB / 0.7314 GB, free: 8.059 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.5676, allocations: 391.7 kB / 0.7317 GB, free: 7.676 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.5679, allocations: 144.4 kB / 0.7319 GB, free: 7.531 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.568, allocations: 91.45 kB / 0.732 GB, free: 7.441 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.5681, allocations: 95.31 kB / 0.7321 GB, free: 7.348 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.5681, allocations: 4 kB / 0.7321 GB, free: 7.344 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.785e-05/0.5682, allocations: 8 kB / 0.7321 GB, free: 7.336 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.047e-05/0.5682, allocations: 35.78 kB / 0.7321 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.264e-05/0.5683, allocations: 93.45 kB / 0.7322 GB, free: 7.203 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004067/0.5687, allocations: 0.4889 MB / 0.7327 GB, free: 6.715 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5687, allocations: 0 / 0.7327 GB, free: 6.715 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.82e-07/0.5687, allocations: 0 / 0.7327 GB, free: 6.715 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.5687, allocations: 0 / 0.7327 GB, free: 6.715 MB / 0.545 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.0008684/0.5696, allocations: 0.5844 MB / 0.7332 GB, free: 6.082 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.5697, allocations: 11.97 kB / 0.7333 GB, free: 6.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.656e-05/0.5697, allocations: 47.39 kB / 0.7333 GB, free: 6.023 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.5702, allocations: 382.2 kB / 0.7337 GB, free: 5.613 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.5703, allocations: 28.5 kB / 0.7337 GB, free: 5.586 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/0.5703, allocations: 24 kB / 0.7337 GB, free: 5.562 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.5709, allocations: 329.4 kB / 0.734 GB, free: 5.223 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.5709, allocations: 3.984 kB / 0.734 GB, free: 5.219 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.571, allocations: 12 kB / 0.734 GB, free: 5.207 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.571, allocations: 8 kB / 0.7341 GB, free: 5.199 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.5714, allocations: 246 kB / 0.7343 GB, free: 4.961 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.5729, allocations: 1.174 MB / 0.7354 GB, free: 3.727 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.5734, allocations: 238.9 kB / 0.7357 GB, free: 3.484 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.5736, allocations: 108.8 kB / 0.7358 GB, free: 3.375 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.5736, allocations: 0 / 0.7358 GB, free: 3.375 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.5737, allocations: 42.5 kB / 0.7358 GB, free: 3.324 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.454e-06/0.5737, allocations: 3.984 kB / 0.7358 GB, free: 3.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0006588/0.5743, allocations: 319.8 kB / 0.7361 GB, free: 3.004 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.226e-05/0.5744, allocations: 81.11 kB / 0.7362 GB, free: 2.906 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.5748, allocations: 329.7 kB / 0.7365 GB, free: 2.578 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.5748, allocations: 33.7 kB / 0.7365 GB, free: 2.539 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.575, allocations: 200 kB / 0.7367 GB, free: 2.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.575, allocations: 55.2 kB / 0.7368 GB, free: 2.285 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-06/0.575, allocations: 0 / 0.7368 GB, free: 2.285 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.5752, allocations: 342.8 kB / 0.7371 GB, free: 1.941 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.5754, allocations: 91.91 kB / 0.7372 GB, free: 1.852 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.5756, allocations: 119.4 kB / 0.7373 GB, free: 1.723 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.5758, allocations: 96 kB / 0.7374 GB, free: 1.629 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5758, allocations: 0 / 0.7374 GB, free: 1.629 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004476/0.5762, allocations: 270.9 kB / 0.7377 GB, free: 1.359 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.553e-05/0.5763, allocations: 106.7 kB / 0.7378 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5763, allocations: 0 / 0.7378 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.5763, allocations: 0 / 0.7378 GB, free: 1.242 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.5765, allocations: 35.98 kB / 0.7378 GB, free: 1.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.5765, allocations: 8 kB / 0.7378 GB, free: 1.199 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.5767, allocations: 27.83 kB / 0.7378 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.5767, allocations: 4 kB / 0.7378 GB, free: 1.168 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-06/0.5767, allocations: 4 kB / 0.7378 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003115/0.577, allocations: 174.1 kB / 0.738 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.577, allocations: 12 kB / 0.738 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.406e-06/0.577, allocations: 3.953 kB / 0.738 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.5772, allocations: 31.94 kB / 0.738 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.5772, allocations: 4 kB / 0.7381 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.495e-05/0.5773, allocations: 27.67 kB / 0.7381 GB, free: 0.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.5773, allocations: 8 kB / 0.7381 GB, free: 0.9102 MB / 0.545 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 (expMod.oveWriSet_activate,expMod.oveWriAct_activate,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.0001915/0.5775, allocations: 233.1 kB / 0.7383 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.54e-05/0.5776, allocations: 31.62 kB / 0.7383 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.928e-05/0.5776, allocations: 43.23 kB / 0.7384 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.5777, allocations: 4 kB / 0.7384 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.5777, allocations: 0 / 0.7384 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5777, allocations: 3.984 kB / 0.7384 GB, free: 0.582 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004074/0.5781, allocations: 405.3 kB / 0.7388 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5781, allocations: 0 / 0.7388 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.5783, allocations: 35.92 kB / 0.7388 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5783, allocations: 0 / 0.7388 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.5783, allocations: 0 / 0.7388 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.5783, allocations: 7.953 kB / 0.7388 GB, free: 96 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.5783, allocations: 4 kB / 0.7388 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006614/0.579, allocations: 447.1 kB / 0.7392 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.5791, allocations: 128.7 kB / 0.7394 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.5792, allocations: 11.94 kB / 0.7394 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.5793, allocations: 11.98 kB / 0.7394 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.5794, allocations: 15.94 kB / 0.7394 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.5794, allocations: 4 kB / 0.7394 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002233/0.5796, allocations: 243.2 kB / 0.7396 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5796, allocations: 0 / 0.7396 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003797/0.58, allocations: 95.53 kB / 0.7397 GB, free: 15.12 MB / 0.5606 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 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * 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.0001133/0.5801, allocations: 99.23 kB / 0.7398 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005928/0.5807, allocations: 295.9 kB / 0.7401 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5807, allocations: 0 / 0.7401 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.5809, allocations: 103 kB / 0.7402 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000622/0.5815, allocations: 80.3 kB / 0.7403 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.5827, allocations: 0.6522 MB / 0.7409 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.5831, allocations: 0.7794 MB / 0.7417 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.5833, allocations: 38.2 kB / 0.7417 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.5834, allocations: 19.44 kB / 0.7417 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5834, allocations: 0 / 0.7417 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of Templates: time 0.006428/0.5898, allocations: 2.865 MB / 0.7445 GB, free: 10.18 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) Environment - environmentSimulation: