Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008004/0.0008004, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.006508/0.006508, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.868/2.868, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003921, allocations: 13.75 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3681, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00314/0.3713, allocations: 2.277 MB / 1.076 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.3728, allocations: 0.8728 MB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.373, allocations: 8 kB / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.3732, allocations: 43.59 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001664/0.3734, allocations: 47.64 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005369/0.374, allocations: 219.8 kB / 1.078 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004207/0.3744, allocations: 411.6 kB / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/0.3747, allocations: 213.1 kB / 1.078 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.3749, allocations: 83.47 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.375, allocations: 107.2 kB / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.375, allocations: 11.94 kB / 1.078 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.164e-05/0.3751, allocations: 8 kB / 1.078 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/0.3751, allocations: 39.72 kB / 1.078 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.3753, allocations: 164.7 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004726/0.3757, allocations: 0.553 MB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3757, allocations: 0 / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3758, allocations: 4 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.3758, allocations: 0 / 1.079 GB, free: 2.473 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.0008355/0.3766, allocations: 0.5782 MB / 1.08 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3767, allocations: 12.03 kB / 1.08 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.3767, allocations: 40.47 kB / 1.08 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.3772, allocations: 371.4 kB / 1.08 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.3772, allocations: 20.94 kB / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.308e-05/0.3773, allocations: 36.28 kB / 1.08 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/0.3779, allocations: 337.7 kB / 1.08 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3779, allocations: 0 / 1.08 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.378, allocations: 8 kB / 1.08 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.378, allocations: 8 kB / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005035/0.3785, allocations: 250.1 kB / 1.081 GB, free: 0.7305 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/0.38, allocations: 1.17 MB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005306/0.3806, allocations: 258.1 kB / 1.082 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.3808, allocations: 104.8 kB / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.3808, allocations: 4 kB / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.3809, allocations: 38.5 kB / 1.082 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.3809, allocations: 0 / 1.082 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.0007101/0.3816, allocations: 317.2 kB / 1.082 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.3817, allocations: 81.11 kB / 1.083 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.382, allocations: 328.4 kB / 1.083 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.382, allocations: 29.7 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.3822, allocations: 196.1 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.3823, allocations: 55.2 kB / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.3823, allocations: 37.64 kB / 1.083 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3824, allocations: 334.8 kB / 1.083 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.3826, allocations: 87.97 kB / 1.084 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.3829, allocations: 131.3 kB / 1.084 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003795/0.3833, allocations: 200.5 kB / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3833, allocations: 0 / 1.084 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004876/0.3838, allocations: 258.1 kB / 1.084 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.349e-05/0.3838, allocations: 110.8 kB / 1.084 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3839, allocations: 3.984 kB / 1.084 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3839, allocations: 7.938 kB / 1.084 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.3841, allocations: 35.92 kB / 1.084 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3841, allocations: 7.938 kB / 1.084 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.3842, allocations: 31.69 kB / 1.084 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.3843, allocations: 7.984 kB / 1.084 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.124e-06/0.3843, allocations: 5.562 kB / 1.084 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003157/0.3846, allocations: 175.8 kB / 1.085 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-06/0.3846, allocations: 0 / 1.085 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-06/0.3846, allocations: 0 / 1.085 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.3847, allocations: 35.98 kB / 1.085 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.3848, allocations: 0 / 1.085 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.3849, allocations: 19.84 kB / 1.085 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.3849, allocations: 4 kB / 1.085 GB, free: 12.54 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.0001897/0.3851, allocations: 245 kB / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-05/0.3851, allocations: 35.61 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.239e-05/0.3852, allocations: 31.28 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3852, allocations: 4 kB / 1.085 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3852, allocations: 4 kB / 1.085 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.3853, allocations: 0 / 1.085 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.3857, allocations: 413.2 kB / 1.085 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3857, allocations: 0 / 1.085 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.3859, allocations: 31.98 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3859, allocations: 0 / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3859, allocations: 0 / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3859, allocations: 4 kB / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3859, allocations: 0 / 1.085 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007128/0.3866, allocations: 461.8 kB / 1.086 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.3868, allocations: 132.6 kB / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.3868, allocations: 11.98 kB / 1.086 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.387, allocations: 16 kB / 1.086 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.387, allocations: 7.984 kB / 1.086 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.3871, allocations: 4 kB / 1.086 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002273/0.3873, allocations: 235.1 kB / 1.086 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3873, allocations: 0 / 1.086 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003935/0.3877, allocations: 95.69 kB / 1.086 GB, free: 10.76 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.0001266/0.3878, allocations: 103.2 kB / 1.086 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006074/0.3884, allocations: 305.7 kB / 1.087 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3885, allocations: 0 / 1.087 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.3886, allocations: 99.91 kB / 1.087 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006299/0.3893, allocations: 88.72 kB / 1.087 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.3904, allocations: 0.6715 MB / 1.087 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.3908, allocations: 0.7755 MB / 1.088 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001307/0.3909, allocations: 26.28 kB / 1.088 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.125e-05/0.391, allocations: 27.44 kB / 1.088 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.391, allocations: 0 / 1.088 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of Templates: time 0.007042/0.3981, allocations: 2.941 MB / 1.091 GB, free: 5.703 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.makefile (rm -f Buildings_1.6_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_1.6_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & ./Buildings_1.6_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)