Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.657/1.657, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001588/0.001588, allocations: 180.9 kB / 361.4 MB, free: 6.828 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.702/1.702, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008054/0.0008053, allocations: 87.22 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.186e-05/2.175e-05, allocations: 4 kB / 0.8517 GB, free: 2.762 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6664/0.6664, allocations: 115.3 MB / 0.9644 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1973/0.8638, allocations: 143.3 MB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003514/0.8642, allocations: 85.53 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01693/0.8811, allocations: 6.94 MB / 1.111 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8812, allocations: 0 / 1.111 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.242e-05/0.8812, allocations: 8 kB / 1.111 GB, free: 5.598 MB / 0.7136 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.0008664/0.8821, allocations: 0.5488 MB / 1.112 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.8822, allocations: 12.03 kB / 1.112 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.8823, allocations: 44.47 kB / 1.112 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/0.8829, allocations: 394.7 kB / 1.112 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.883, allocations: 16 kB / 1.112 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.883, allocations: 18.81 kB / 1.112 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003838/0.8834, allocations: 185.1 kB / 1.112 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.8839, allocations: 260.4 kB / 1.113 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.8839, allocations: 0 / 1.113 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.8839, allocations: 0 / 1.113 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.8839, allocations: 8 kB / 1.113 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.8855, allocations: 1.1 MB / 1.114 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.8859, allocations: 202.8 kB / 1.114 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.886, allocations: 76.86 kB / 1.114 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.8861, allocations: 0 / 1.114 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.8861, allocations: 38.78 kB / 1.114 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 2.364e-06/0.8861, allocations: 0 / 1.114 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0003843/0.8865, allocations: 177.9 kB / 1.114 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.8866, allocations: 89.05 kB / 1.114 GB, free: 2.266 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.8869, allocations: 234.3 kB / 1.114 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.8869, allocations: 25.7 kB / 1.114 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.887, allocations: 204.4 kB / 1.115 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.723e-05/0.8871, allocations: 55.2 kB / 1.115 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-06/0.8871, allocations: 0 / 1.115 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.8873, allocations: 338.8 kB / 1.115 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.8874, allocations: 64 kB / 1.115 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.8876, allocations: 100.8 kB / 1.115 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.8877, allocations: 65.08 kB / 1.115 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8877, allocations: 0 / 1.115 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003757/0.8881, allocations: 206.6 kB / 1.115 GB, free: 0.957 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.8883, allocations: 271 kB / 1.116 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.8883, allocations: 4 kB / 1.116 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.8883, allocations: 3.984 kB / 1.116 GB, free: 0.6641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.8885, allocations: 39.92 kB / 1.116 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.8885, allocations: 3.375 kB / 1.116 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.8887, allocations: 25.91 kB / 1.116 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.8887, allocations: 4 kB / 1.116 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.8887, allocations: 7.984 kB / 1.116 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002398/0.8889, allocations: 141.4 kB / 1.116 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-06/0.889, allocations: 0 / 1.116 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-06/0.889, allocations: 0 / 1.116 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.8891, allocations: 31.94 kB / 1.116 GB, free: 432 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.8891, allocations: 2.625 kB / 1.116 GB, free: 432 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.8892, allocations: 19.91 kB / 1.116 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.8892, allocations: 4 kB / 1.116 GB, free: 408 kB / 0.7136 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 () * 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 9.843e-05/0.8894, allocations: 109 kB / 1.116 GB, free: 292 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.8894, allocations: 23.72 kB / 1.116 GB, free: 268 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.742e-05/0.8895, allocations: 30.08 kB / 1.116 GB, free: 236 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.8895, allocations: 4 kB / 1.116 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.8895, allocations: 3.953 kB / 1.116 GB, free: 228 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.8895, allocations: 0 / 1.116 GB, free: 228 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.89, allocations: 357.9 kB / 1.116 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.89, allocations: 0 / 1.116 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.8902, allocations: 35.86 kB / 1.117 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.8902, allocations: 0 / 1.117 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.8902, allocations: 4 kB / 1.117 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.8902, allocations: 0 / 1.117 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8902, allocations: 1.312 kB / 1.117 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.8907, allocations: 385.2 kB / 1.117 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.8908, allocations: 128.7 kB / 1.117 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.8909, allocations: 0 / 1.117 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.891, allocations: 11.98 kB / 1.117 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.8911, allocations: 7.984 kB / 1.117 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.8911, allocations: 9.438 kB / 1.117 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001768/0.8913, allocations: 186 kB / 1.117 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8913, allocations: 0 / 1.117 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004201/0.8917, allocations: 91.59 kB / 1.117 GB, free: 14.96 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 () * 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.0001537/0.8919, allocations: 118.8 kB / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.8923, allocations: 239.8 kB / 1.118 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8923, allocations: 0 / 1.118 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.8924, allocations: 79.92 kB / 1.118 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.8929, allocations: 70.38 kB / 1.118 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008838/0.8938, allocations: 404.6 kB / 1.118 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00035/0.8942, allocations: 0.784 MB / 1.119 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002063/0.8944, allocations: 43.72 kB / 1.119 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.8945, allocations: 15.44 kB / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.8945, allocations: 0 / 1.119 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of Templates: time 0.006771/0.9013, allocations: 2.927 MB / 1.122 GB, free: 10.33 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)