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.001228/0.001227, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001371/0.001371, allocations: 198.5 kB / 16.14 MB, free: 6.688 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.825/2.825, allocations: 472.6 MB / 0.7447 GB, free: 4.938 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 61.02 kB / 0.9113 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3517, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.004266/0.356, allocations: 2.647 MB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3578, allocations: 0.8845 MB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003177/0.3581, allocations: 8 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.3584, allocations: 51.58 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.3586, allocations: 47.66 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005402/0.3591, allocations: 223 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005132/0.3597, allocations: 403.6 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003697/0.3601, allocations: 225.1 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.3603, allocations: 107.4 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.3605, allocations: 131.1 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.777e-05/0.3606, allocations: 23.94 kB / 1.072 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.299e-05/0.3606, allocations: 16 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.844e-05/0.3607, allocations: 51.77 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.3609, allocations: 155 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006431/0.3616, allocations: 0.5727 MB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.3616, allocations: 0 / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3616, allocations: 0 / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.182e-05/0.3616, allocations: 0 / 1.073 GB, free: 5.34 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.001361/0.363, allocations: 0.6523 MB / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.3631, allocations: 8.031 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.3632, allocations: 40.47 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005697/0.3638, allocations: 383.3 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.3638, allocations: 16.94 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.575e-05/0.3639, allocations: 28.38 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006916/0.3646, allocations: 333.7 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3646, allocations: 0 / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.409e-05/0.3646, allocations: 8 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.3647, allocations: 8 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005748/0.3652, allocations: 238.1 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.3672, allocations: 1.166 MB / 1.076 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005572/0.3678, allocations: 234.8 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.368, allocations: 92.83 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.368, allocations: 4 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.3681, allocations: 42.5 kB / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.3681, allocations: 0 / 1.076 GB, free: 1.934 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0006861/0.3688, allocations: 293.2 kB / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.3688, allocations: 81.11 kB / 1.076 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.3692, allocations: 332.5 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.3693, allocations: 29.7 kB / 1.077 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.3694, allocations: 204 kB / 1.077 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.215e-05/0.3695, allocations: 51.2 kB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.826e-05/0.3695, allocations: 41.7 kB / 1.077 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.3697, allocations: 338.8 kB / 1.077 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.3699, allocations: 84.83 kB / 1.077 GB, free: 452 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.3701, allocations: 127.3 kB / 1.078 GB, free: 312 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.3705, allocations: 176 kB / 1.078 GB, free: 128 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3705, allocations: 4 kB / 1.078 GB, free: 124 kB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004913/0.371, allocations: 261.3 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.371, allocations: 5.25 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.371, allocations: 4 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.371, allocations: 3.984 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.3712, allocations: 35.92 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3713, allocations: 7.938 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/0.3714, allocations: 35.61 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.3714, allocations: 4 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002429/0.3717, allocations: 196.2 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001503/0.3718, allocations: 104.9 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002721/0.3721, allocations: 164.4 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.699e-06/0.3721, allocations: 4 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003614/0.3725, allocations: 225.2 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.3725, allocations: 8 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-06/0.3725, allocations: 0 / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.3725, allocations: 3.984 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.3727, allocations: 31.94 kB / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.3727, allocations: 0 / 1.079 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.3728, allocations: 15.92 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.3728, allocations: 15.88 kB / 1.079 GB, free: 14.98 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.0001172/0.373, allocations: 188.3 kB / 1.079 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.373, allocations: 27.62 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.139e-05/0.3731, allocations: 39.22 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3731, allocations: 4 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3731, allocations: 0 / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3731, allocations: 3.938 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.3736, allocations: 405.3 kB / 1.079 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3736, allocations: 0 / 1.079 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001616/0.3737, allocations: 23.98 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.3738, allocations: 7.984 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.3738, allocations: 8 kB / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3738, allocations: 0 / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3738, allocations: 0 / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.3745, allocations: 438.9 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.3746, allocations: 136.7 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.3746, allocations: 8.062 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.3748, allocations: 11.98 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.3748, allocations: 11.92 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.3749, allocations: 8 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002338/0.3751, allocations: 231.1 kB / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3751, allocations: 0 / 1.08 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003872/0.3755, allocations: 91.59 kB / 1.08 GB, free: 13.29 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.0001253/0.3756, allocations: 111.2 kB / 1.08 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005984/0.3762, allocations: 279.8 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3763, allocations: 0 / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.3765, allocations: 99.83 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/0.3771, allocations: 86.5 kB / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.3782, allocations: 0.6543 MB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.3786, allocations: 0.7794 MB / 1.082 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001467/0.3787, allocations: 30.27 kB / 1.082 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.3788, allocations: 19.44 kB / 1.082 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3788, allocations: 3.938 kB / 1.082 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of Templates: time 0.00621/0.385, allocations: 2.98 MB / 1.085 GB, free: 8.23 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)