Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.00193/0.00193, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002068/0.002068, allocations: 193.2 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.815/2.815, allocations: 472.6 MB / 0.7447 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.3 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.364, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004563/0.3686, allocations: 2.65 MB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.3704, allocations: 0.8845 MB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003542/0.3708, allocations: 19.88 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.3711, allocations: 47.64 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.3713, allocations: 43.61 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005561/0.3719, allocations: 227.1 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000499/0.3724, allocations: 403.7 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003569/0.3728, allocations: 225.1 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.3729, allocations: 103.4 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.3731, allocations: 131.2 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.613e-05/0.3731, allocations: 16 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.845e-05/0.3732, allocations: 16 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.207e-05/0.3732, allocations: 51.66 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.3734, allocations: 159 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004547/0.3738, allocations: 0.5727 MB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3738, allocations: 4 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3738, allocations: 0 / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.3739, allocations: 0 / 1.073 GB, free: 5.34 MB / 0.8262 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.0009581/0.3748, allocations: 0.6429 MB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3749, allocations: 12.03 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.961e-05/0.375, allocations: 44.47 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/0.3754, allocations: 379.2 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.3755, allocations: 24.94 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.3755, allocations: 28.38 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005862/0.3761, allocations: 329.7 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3761, allocations: 0 / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.3762, allocations: 12 kB / 1.074 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.976e-06/0.3762, allocations: 12 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004796/0.3767, allocations: 226.2 kB / 1.075 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.3783, allocations: 1.17 MB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005141/0.3788, allocations: 234.8 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.379, allocations: 100.9 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.3791, allocations: 0 / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.3791, allocations: 38.56 kB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.3791, allocations: 0 / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.000697/0.3798, allocations: 303.4 kB / 1.076 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.3799, allocations: 77.11 kB / 1.076 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/0.3803, allocations: 328.5 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.3803, allocations: 33.7 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.3804, allocations: 196 kB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.3805, allocations: 55.2 kB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.681e-05/0.3806, allocations: 41.64 kB / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3807, allocations: 338.8 kB / 1.077 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.3809, allocations: 88.83 kB / 1.077 GB, free: 448 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.3811, allocations: 119.3 kB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.3815, allocations: 190.5 kB / 1.078 GB, free: 116 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3815, allocations: 0 / 1.078 GB, free: 116 kB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004952/0.382, allocations: 254.7 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.382, allocations: 7.984 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.3821, allocations: 0 / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3821, allocations: 4 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.3823, allocations: 39.98 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.3823, allocations: 0 / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.3824, allocations: 35.61 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.3824, allocations: 8 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002396/0.3827, allocations: 192.1 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001681/0.3829, allocations: 105.1 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002622/0.3831, allocations: 163.8 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.3831, allocations: 0 / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003626/0.3835, allocations: 230.7 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.3835, allocations: 4 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3835, allocations: 4 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.889e-06/0.3836, allocations: 3.984 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.3837, allocations: 32.05 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.3837, allocations: 4 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.3838, allocations: 7.938 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.3838, allocations: 11.94 kB / 1.079 GB, free: 15 MB / 0.8419 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.oveWriAct_activate,expMod.oveWriSet_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.384, allocations: 192.2 kB / 1.079 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.384, allocations: 31.62 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.876e-05/0.3841, allocations: 35.28 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3841, allocations: 0 / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3841, allocations: 4 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3841, allocations: 7.938 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.3845, allocations: 405.3 kB / 1.079 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3846, allocations: 0 / 1.079 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.3847, allocations: 27.92 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/0.3848, allocations: 4 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.3848, allocations: 11.94 kB / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3848, allocations: 0 / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3848, allocations: 0 / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006847/0.3855, allocations: 441.1 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.3856, allocations: 132.7 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.3857, allocations: 8 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.3858, allocations: 4 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.3859, allocations: 15.92 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.3859, allocations: 4 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002347/0.3861, allocations: 243 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3861, allocations: 0 / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003962/0.3865, allocations: 91.59 kB / 1.08 GB, free: 13.29 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001155/0.3867, allocations: 111.2 kB / 1.08 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000595/0.3873, allocations: 277.7 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3873, allocations: 4.25 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.3875, allocations: 99.84 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000612/0.3881, allocations: 76.78 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.3892, allocations: 0.6583 MB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.3896, allocations: 0.7755 MB / 1.082 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001505/0.3898, allocations: 30.27 kB / 1.082 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.733e-05/0.3898, allocations: 23.38 kB / 1.082 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3898, allocations: 0 / 1.082 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of Templates: time 0.0067/0.3965, allocations: 2.981 MB / 1.085 GB, free: 8.234 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)