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.001662/0.001661, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001901/0.001901, allocations: 177.3 kB / 15.95 MB, free: 216 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.885/1.885, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.674/1.674, allocations: 251.9 MB / 0.51 GB, free: 4.883 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.0006269/0.0006269, allocations: 12 kB / 0.6241 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5679/0.5685, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003097/0.5717, allocations: 2.203 MB / 0.7301 GB, free: 9.223 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.5735, allocations: 0.8893 MB / 0.731 GB, free: 8.324 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000306/0.5739, allocations: 11.94 kB / 0.731 GB, free: 8.312 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.459e-05/0.574, allocations: 31.59 kB / 0.731 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000432/0.5744, allocations: 87.67 kB / 0.7311 GB, free: 8.195 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004754/0.5749, allocations: 137.7 kB / 0.7312 GB, free: 8.062 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004256/0.5753, allocations: 252.2 kB / 0.7315 GB, free: 7.816 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002903/0.5756, allocations: 148.4 kB / 0.7316 GB, free: 7.668 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.5757, allocations: 91.5 kB / 0.7317 GB, free: 7.578 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.5759, allocations: 99.3 kB / 0.7318 GB, free: 7.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.5759, allocations: 8 kB / 0.7318 GB, free: 7.473 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 2.688e-05/0.576, allocations: 7.938 kB / 0.7318 GB, free: 7.465 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.265e-05/0.576, allocations: 43.78 kB / 0.7319 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.5762, allocations: 85.52 kB / 0.7319 GB, free: 7.332 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004325/0.5766, allocations: 0.4889 MB / 0.7324 GB, free: 6.844 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.5766, allocations: 4 kB / 0.7324 GB, free: 6.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5766, allocations: 0 / 0.7324 GB, free: 6.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.5766, allocations: 0 / 0.7324 GB, free: 6.84 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.0009161/0.5776, allocations: 0.5844 MB / 0.733 GB, free: 6.207 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.5776, allocations: 8.031 kB / 0.733 GB, free: 6.199 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.254e-05/0.5777, allocations: 47.39 kB / 0.733 GB, free: 6.152 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.5781, allocations: 378.2 kB / 0.7334 GB, free: 5.746 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.5782, allocations: 24.56 kB / 0.7334 GB, free: 5.723 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.632e-05/0.5782, allocations: 28 kB / 0.7335 GB, free: 5.695 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/0.5788, allocations: 329.3 kB / 0.7338 GB, free: 5.355 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.5788, allocations: 0 / 0.7338 GB, free: 5.355 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.5788, allocations: 12 kB / 0.7338 GB, free: 5.344 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.5789, allocations: 8 kB / 0.7338 GB, free: 5.336 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005545/0.5794, allocations: 250 kB / 0.734 GB, free: 5.094 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.5811, allocations: 1.167 MB / 0.7352 GB, free: 3.867 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005415/0.5816, allocations: 250.8 kB / 0.7354 GB, free: 3.613 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.5816, allocations: 7.984 kB / 0.7354 GB, free: 3.605 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.5817, allocations: 34.56 kB / 0.7354 GB, free: 3.562 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.5817, allocations: 0 / 0.7354 GB, free: 3.562 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0007078/0.5824, allocations: 328.9 kB / 0.7358 GB, free: 3.238 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.5825, allocations: 77.11 kB / 0.7358 GB, free: 3.145 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004431/0.5829, allocations: 329.7 kB / 0.7361 GB, free: 2.816 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.583, allocations: 29.7 kB / 0.7362 GB, free: 2.781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.5831, allocations: 200 kB / 0.7364 GB, free: 2.582 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.5832, allocations: 59.19 kB / 0.7364 GB, free: 2.523 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.04e-05/0.5832, allocations: 8 kB / 0.7364 GB, free: 2.516 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5833, allocations: 342.8 kB / 0.7368 GB, free: 2.172 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.5835, allocations: 83.97 kB / 0.7368 GB, free: 2.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.5837, allocations: 122.1 kB / 0.737 GB, free: 1.961 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001923/0.5839, allocations: 106 kB / 0.7371 GB, free: 1.859 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.5839, allocations: 3.938 kB / 0.7371 GB, free: 1.855 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004453/0.5844, allocations: 269.1 kB / 0.7373 GB, free: 1.586 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.5845, allocations: 271.1 kB / 0.7376 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.5845, allocations: 0 / 0.7376 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5845, allocations: 0 / 0.7376 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.5847, allocations: 35.98 kB / 0.7376 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.5848, allocations: 7.891 kB / 0.7376 GB, free: 1.258 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.5849, allocations: 27.83 kB / 0.7376 GB, free: 1.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.5849, allocations: 8 kB / 0.7377 GB, free: 1.223 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-06/0.5849, allocations: 4 kB / 0.7377 GB, free: 1.219 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003532/0.5853, allocations: 177.8 kB / 0.7378 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5853, allocations: 3.984 kB / 0.7378 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-06/0.5853, allocations: 4 kB / 0.7378 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.5854, allocations: 24 kB / 0.7379 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.5854, allocations: 7.984 kB / 0.7379 GB, free: 1.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.5856, allocations: 23.81 kB / 0.7379 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.5856, allocations: 8 kB / 0.7379 GB, free: 0.9766 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.0002738/0.5859, allocations: 241 kB / 0.7381 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.161e-05/0.5859, allocations: 31.62 kB / 0.7382 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.586, allocations: 35.28 kB / 0.7382 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.586, allocations: 0 / 0.7382 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5861, allocations: 0 / 0.7382 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.5861, allocations: 7.984 kB / 0.7382 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000416/0.5865, allocations: 409.3 kB / 0.7386 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5865, allocations: 7.953 kB / 0.7386 GB, free: 196 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.5867, allocations: 31.92 kB / 0.7386 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5867, allocations: 0 / 0.7386 GB, free: 164 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.5867, allocations: 4 kB / 0.7386 GB, free: 160 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5867, allocations: 0 / 0.7386 GB, free: 160 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5867, allocations: 0 / 0.7386 GB, free: 160 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007147/0.5874, allocations: 451.1 kB / 0.7391 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.5876, allocations: 132.7 kB / 0.7392 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.5876, allocations: 8.062 kB / 0.7392 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.5878, allocations: 15.98 kB / 0.7392 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.5878, allocations: 7.984 kB / 0.7392 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.5878, allocations: 11.94 kB / 0.7392 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002085/0.588, allocations: 231.2 kB / 0.7394 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5881, allocations: 0 / 0.7394 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003785/0.5884, allocations: 99.53 kB / 0.7395 GB, free: 15.18 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.0001277/0.5886, allocations: 111.2 kB / 0.7396 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005586/0.5891, allocations: 290.2 kB / 0.7399 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5892, allocations: 4 kB / 0.7399 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.5893, allocations: 103.8 kB / 0.74 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005065/0.5898, allocations: 74.12 kB / 0.7401 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.5909, allocations: 0.6444 MB / 0.7407 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.5914, allocations: 0.7872 MB / 0.7415 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.5915, allocations: 30.27 kB / 0.7415 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.5916, allocations: 27.44 kB / 0.7416 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.5916, allocations: 0 / 0.7416 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of Templates: time 0.006532/0.5981, allocations: 2.868 MB / 0.7444 GB, free: 10.23 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: