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.000954/0.000954, 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.0009405/0.0009405, allocations: 192.3 kB / 16.13 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.205/1.205, allocations: 205.1 MB / 222 MB, free: 4.781 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.333/1.333, allocations: 251.7 MB / 0.5088 GB, free: 3.371 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.001081/0.001081, allocations: 59.92 kB / 0.6216 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3872, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003283/0.3905, allocations: 2.658 MB / 0.7264 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.3917, allocations: 0.9434 MB / 0.7273 GB, free: 9.516 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.3919, allocations: 11.94 kB / 0.7273 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.392, allocations: 47.64 kB / 0.7274 GB, free: 9.457 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.3922, allocations: 47.59 kB / 0.7274 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.3925, allocations: 223.8 kB / 0.7276 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003213/0.3929, allocations: 407.6 kB / 0.728 GB, free: 8.793 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002854/0.3932, allocations: 219.1 kB / 0.7282 GB, free: 8.578 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.722e-05/0.3933, allocations: 103.4 kB / 0.7283 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.3934, allocations: 135.1 kB / 0.7285 GB, free: 8.344 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.722e-05/0.3934, allocations: 19.98 kB / 0.7285 GB, free: 8.324 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 3.156e-05/0.3935, allocations: 16 kB / 0.7285 GB, free: 8.309 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.35e-05/0.3935, allocations: 55.77 kB / 0.7286 GB, free: 8.254 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.3936, allocations: 155 kB / 0.7287 GB, free: 8.102 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.394, allocations: 0.5763 MB / 0.7293 GB, free: 7.523 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.394, allocations: 0 / 0.7293 GB, free: 7.523 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.52e-07/0.394, allocations: 0 / 0.7293 GB, free: 7.523 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3941, allocations: 0 / 0.7293 GB, free: 7.523 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.0007612/0.3948, allocations: 0.6546 MB / 0.7299 GB, free: 6.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.3949, allocations: 8.031 kB / 0.7299 GB, free: 6.812 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.469e-05/0.3949, allocations: 40.47 kB / 0.73 GB, free: 6.773 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.3953, allocations: 391.2 kB / 0.7303 GB, free: 6.352 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3953, allocations: 24.88 kB / 0.7303 GB, free: 6.328 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.3954, allocations: 28.38 kB / 0.7304 GB, free: 6.301 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.3959, allocations: 333.7 kB / 0.7307 GB, free: 5.961 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3959, allocations: 0 / 0.7307 GB, free: 5.961 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.3959, allocations: 12 kB / 0.7307 GB, free: 5.949 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.3959, allocations: 8 kB / 0.7307 GB, free: 5.941 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.3963, allocations: 234.1 kB / 0.7309 GB, free: 5.711 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.3976, allocations: 1.166 MB / 0.7321 GB, free: 4.488 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.398, allocations: 230.8 kB / 0.7323 GB, free: 4.254 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.3982, allocations: 100.9 kB / 0.7324 GB, free: 4.152 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3982, allocations: 4 kB / 0.7324 GB, free: 4.148 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.3982, allocations: 30.56 kB / 0.7324 GB, free: 4.109 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.363e-06/0.3982, allocations: 0 / 0.7324 GB, free: 4.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0005684/0.3988, allocations: 305.1 kB / 0.7327 GB, free: 3.805 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.3989, allocations: 81.11 kB / 0.7328 GB, free: 3.707 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.3991, allocations: 337.6 kB / 0.7331 GB, free: 3.371 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.3992, allocations: 29.7 kB / 0.7331 GB, free: 3.336 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.3993, allocations: 200.1 kB / 0.7333 GB, free: 3.137 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.3994, allocations: 55.2 kB / 0.7334 GB, free: 3.082 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/0.3994, allocations: 45.7 kB / 0.7334 GB, free: 3.031 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3995, allocations: 338.8 kB / 0.7338 GB, free: 2.691 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.3997, allocations: 88.78 kB / 0.7338 GB, free: 2.602 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.3999, allocations: 119.4 kB / 0.734 GB, free: 2.473 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.4002, allocations: 188.1 kB / 0.7341 GB, free: 2.281 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.4002, allocations: 0 / 0.7341 GB, free: 2.281 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003994/0.4006, allocations: 257.2 kB / 0.7344 GB, free: 2.023 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4007, allocations: 8.062 kB / 0.7344 GB, free: 2.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4007, allocations: 4 kB / 0.7344 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4007, allocations: 0 / 0.7344 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.4009, allocations: 31.92 kB / 0.7344 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.4009, allocations: 4 kB / 0.7344 GB, free: 1.977 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001247/0.401, allocations: 31.67 kB / 0.7345 GB, free: 1.945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.401, allocations: 4 kB / 0.7345 GB, free: 1.941 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002077/0.4012, allocations: 196.1 kB / 0.7346 GB, free: 1.746 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001331/0.4014, allocations: 106.5 kB / 0.7347 GB, free: 1.633 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002281/0.4016, allocations: 168.7 kB / 0.7349 GB, free: 1.461 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.973e-06/0.4016, allocations: 3.984 kB / 0.7349 GB, free: 1.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003107/0.4019, allocations: 227.3 kB / 0.7351 GB, free: 1.23 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.402, allocations: 16.03 kB / 0.7351 GB, free: 1.215 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-06/0.402, allocations: 0 / 0.7351 GB, free: 1.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.878e-06/0.402, allocations: 4 kB / 0.7351 GB, free: 1.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.4021, allocations: 35.91 kB / 0.7352 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.4021, allocations: 0 / 0.7352 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.4022, allocations: 23.83 kB / 0.7352 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.4022, allocations: 7.938 kB / 0.7352 GB, free: 1.145 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.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 9.22e-05/0.4023, allocations: 184.3 kB / 0.7354 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.4024, allocations: 27.62 kB / 0.7354 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.901e-05/0.4025, allocations: 43.28 kB / 0.7355 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4025, allocations: 0 / 0.7355 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4025, allocations: 0 / 0.7355 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4025, allocations: 3.938 kB / 0.7355 GB, free: 0.875 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.4028, allocations: 405.3 kB / 0.7358 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4028, allocations: 4 kB / 0.7358 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.403, allocations: 35.91 kB / 0.7359 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.403, allocations: 0 / 0.7359 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.403, allocations: 0 / 0.7359 GB, free: 400 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.403, allocations: 4 kB / 0.7359 GB, free: 396 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.403, allocations: 4 kB / 0.7359 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005738/0.4036, allocations: 438 kB / 0.7363 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.611e-05/0.4037, allocations: 128.7 kB / 0.7364 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.4038, allocations: 8 kB / 0.7364 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.4039, allocations: 19.98 kB / 0.7365 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.404, allocations: 11.92 kB / 0.7365 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.404, allocations: 4 kB / 0.7365 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001901/0.4042, allocations: 239.2 kB / 0.7367 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4042, allocations: 4 kB / 0.7367 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003455/0.4045, allocations: 91.62 kB / 0.7368 GB, free: 15.43 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.701e-05/0.4046, allocations: 95.25 kB / 0.7369 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004991/0.4051, allocations: 287.7 kB / 0.7372 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4051, allocations: 7.938 kB / 0.7372 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.4053, allocations: 95.89 kB / 0.7373 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/0.4059, allocations: 80.94 kB / 0.7373 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008975/0.4068, allocations: 0.6742 MB / 0.738 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.4071, allocations: 0.7755 MB / 0.7387 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001145/0.4072, allocations: 38.27 kB / 0.7388 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/0.4072, allocations: 19.44 kB / 0.7388 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.4072, allocations: 0 / 0.7388 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of Templates: time 0.005151/0.4124, allocations: 2.984 MB / 0.7417 GB, free: 10.36 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (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)