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.001259/0.001259, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001375/0.001375, allocations: 198 kB / 16.25 MB, free: 6.621 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.363/1.363, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.771/2.771, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64.25 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3344, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003917/0.3384, allocations: 2.65 MB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.34, allocations: 0.8845 MB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.3402, allocations: 8 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001989/0.3404, allocations: 51.58 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.3406, allocations: 43.66 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.3411, allocations: 227.8 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004213/0.3415, allocations: 451.6 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003299/0.3418, allocations: 225.1 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.342, allocations: 139.4 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.3421, allocations: 155.2 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.323e-05/0.3422, allocations: 48 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.167e-05/0.3423, allocations: 59.88 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.328e-05/0.3423, allocations: 83.78 kB / 1.073 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.3425, allocations: 191 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.343, allocations: 0.6039 MB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.343, allocations: 0 / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.262e-06/0.343, allocations: 0 / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.343, allocations: 0 / 1.073 GB, free: 4.965 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.0009168/0.344, allocations: 0.6468 MB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.344, allocations: 8.031 kB / 1.074 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.408e-05/0.3441, allocations: 40.47 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004464/0.3445, allocations: 387.2 kB / 1.074 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.3446, allocations: 20.94 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.3446, allocations: 24.38 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006024/0.3452, allocations: 337.7 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3453, allocations: 0 / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.3453, allocations: 12 kB / 1.075 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.3453, allocations: 4 kB / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000493/0.3458, allocations: 234.1 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001549/0.3474, allocations: 1.17 MB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/0.3479, allocations: 230.8 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001801/0.3481, allocations: 96.83 kB / 1.076 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.3481, allocations: 4 kB / 1.076 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.3481, allocations: 34.5 kB / 1.076 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.3482, allocations: 0 / 1.076 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0007105/0.3489, allocations: 306.7 kB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.3489, allocations: 81.11 kB / 1.077 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/0.3493, allocations: 328.5 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.3493, allocations: 25.7 kB / 1.077 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.3495, allocations: 200 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.3495, allocations: 55.19 kB / 1.077 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.417e-05/0.3496, allocations: 41.7 kB / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3497, allocations: 342.8 kB / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.3499, allocations: 92.81 kB / 1.078 GB, free: 56 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.3501, allocations: 109.4 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.3506, allocations: 192.2 kB / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3506, allocations: 0 / 1.078 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004443/0.351, allocations: 257.1 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.351, allocations: 8 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3511, allocations: 4.062 kB / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3511, allocations: 0 / 1.078 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.3513, allocations: 35.92 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3513, allocations: 0 / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.3514, allocations: 43.55 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.3515, allocations: 4 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002584/0.3517, allocations: 196.1 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001468/0.3519, allocations: 103.4 kB / 1.079 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002487/0.3521, allocations: 169.6 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.012e-06/0.3522, allocations: 0 / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003354/0.3525, allocations: 229.1 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.3525, allocations: 4 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-06/0.3525, allocations: 4.094 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.657e-06/0.3525, allocations: 4 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.3527, allocations: 27.92 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.3527, allocations: 4 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.3528, allocations: 15.92 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.3528, allocations: 7.938 kB / 1.079 GB, free: 14.61 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.0001134/0.3529, allocations: 184.9 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.479e-05/0.353, allocations: 31.62 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.405e-05/0.3531, allocations: 43.22 kB / 1.079 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.3531, allocations: 0 / 1.079 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3531, allocations: 0 / 1.079 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3531, allocations: 7.922 kB / 1.079 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004045/0.3535, allocations: 405.2 kB / 1.08 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3535, allocations: 4 kB / 1.08 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.3537, allocations: 31.92 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3537, allocations: 0 / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.3537, allocations: 0 / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3537, allocations: 4 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3537, allocations: 0 / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006695/0.3544, allocations: 439 kB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.3545, allocations: 132.7 kB / 1.08 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.981e-05/0.3546, allocations: 8 kB / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.3547, allocations: 4 kB / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/0.3548, allocations: 23.92 kB / 1.08 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.3548, allocations: 7.984 kB / 1.08 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002336/0.3551, allocations: 235.1 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3551, allocations: 0 / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004198/0.3555, allocations: 87.59 kB / 1.081 GB, free: 12.91 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.000128/0.3556, allocations: 99.25 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006165/0.3562, allocations: 295.4 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3563, allocations: 0 / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.3564, allocations: 99.84 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006565/0.3571, allocations: 92.34 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.3582, allocations: 0.6697 MB / 1.082 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.3585, allocations: 0.7753 MB / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.3587, allocations: 26.28 kB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.069e-05/0.3588, allocations: 19.44 kB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.3588, allocations: 4 kB / 1.083 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of Templates: time 0.007014/0.3658, allocations: 3.096 MB / 1.086 GB, free: 7.727 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)