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.001614/0.001614, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002056/0.002056, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.816/2.816, allocations: 472.6 MB / 0.7451 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 60.44 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3337, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004441/0.3382, allocations: 2.605 MB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001933/0.3402, allocations: 0.9117 MB / 1.072 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004475/0.3406, allocations: 11.94 kB / 1.072 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.3409, allocations: 63.33 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.3413, allocations: 67.41 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006696/0.342, allocations: 234.8 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004471/0.3424, allocations: 451.6 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003484/0.3428, allocations: 233.1 kB / 1.073 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.3429, allocations: 139.4 kB / 1.073 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.3431, allocations: 151.2 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.006e-05/0.3431, allocations: 52 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.467e-05/0.3432, allocations: 52 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.388e-05/0.3433, allocations: 95.69 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.3434, allocations: 183 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005261/0.344, allocations: 0.6001 MB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.344, allocations: 0 / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.723e-06/0.344, allocations: 0 / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.344, allocations: 0 / 1.074 GB, free: 4.539 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.0009056/0.3449, allocations: 0.6506 MB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3449, allocations: 8.031 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.365e-05/0.345, allocations: 44.47 kB / 1.075 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.3455, allocations: 387.2 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.3455, allocations: 20.94 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.3456, allocations: 24.38 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005912/0.3462, allocations: 329.7 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.3462, allocations: 0 / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.3463, allocations: 15.94 kB / 1.075 GB, free: 2.977 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.3463, allocations: 7.984 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004665/0.3467, allocations: 234.1 kB / 1.076 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.3482, allocations: 1.178 MB / 1.077 GB, free: 1.504 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.3487, allocations: 226.8 kB / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.3489, allocations: 96.83 kB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.3489, allocations: 4 kB / 1.077 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.349, allocations: 34.56 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.349, allocations: 0 / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.000681/0.3497, allocations: 299 kB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.3497, allocations: 85.05 kB / 1.077 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.3501, allocations: 332.5 kB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3501, allocations: 25.7 kB / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.3503, allocations: 200.1 kB / 1.078 GB, free: 168 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.3503, allocations: 55.19 kB / 1.078 GB, free: 112 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.99e-05/0.3504, allocations: 45.64 kB / 1.078 GB, free: 60 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3506, allocations: 342.8 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.3508, allocations: 88.83 kB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.351, allocations: 117.8 kB / 1.079 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003492/0.3513, allocations: 192.2 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3513, allocations: 0 / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000457/0.3518, allocations: 253.1 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3518, allocations: 8 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3518, allocations: 0 / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3519, allocations: 0 / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.3521, allocations: 31.98 kB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3521, allocations: 0 / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.3522, allocations: 35.61 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.3522, allocations: 7.938 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002321/0.3525, allocations: 200.2 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001535/0.3526, allocations: 103.4 kB / 1.079 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002602/0.3529, allocations: 165 kB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.3529, allocations: 0 / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.000352/0.3533, allocations: 229.2 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.3533, allocations: 5.719 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.3533, allocations: 7.922 kB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.498e-06/0.3533, allocations: 4 kB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.3534, allocations: 20 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.3534, allocations: 7.938 kB / 1.08 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.3536, allocations: 15.92 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.32e-05/0.3536, allocations: 7.938 kB / 1.08 GB, free: 14.19 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.0001259/0.3537, allocations: 197.4 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.3538, allocations: 31.62 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.598e-05/0.3539, allocations: 35.28 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3539, allocations: 0 / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.3539, allocations: 0 / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3539, allocations: 3.938 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004126/0.3543, allocations: 409.3 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3543, allocations: 4 kB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/0.3545, allocations: 31.97 kB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3545, allocations: 0 / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.3545, allocations: 4 kB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3545, allocations: 7.938 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3545, allocations: 0 / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006723/0.3552, allocations: 432.8 kB / 1.081 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.3553, allocations: 132.7 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.3554, allocations: 16.05 kB / 1.081 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.3555, allocations: 15.92 kB / 1.081 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.3556, allocations: 11.92 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.3556, allocations: 4 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002155/0.3558, allocations: 235.1 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3558, allocations: 0 / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003739/0.3562, allocations: 91.59 kB / 1.081 GB, free: 12.48 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.0001126/0.3563, allocations: 107.2 kB / 1.081 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005844/0.3569, allocations: 291.8 kB / 1.082 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3569, allocations: 0 / 1.082 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.3571, allocations: 99.84 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000581/0.3577, allocations: 80.22 kB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.3588, allocations: 0.5549 MB / 1.082 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.3591, allocations: 0.7753 MB / 1.083 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001238/0.3592, allocations: 34.28 kB / 1.083 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.545e-05/0.3593, allocations: 19.44 kB / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3593, allocations: 0 / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of Templates: time 0.006369/0.3657, allocations: 3.15 MB / 1.086 GB, free: 7.352 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)