Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.008254/0.008254, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.493/1.493, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.094/3.094, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 7.344 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3721, allocations: 162.2 MB / 1.074 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001506/0.3737, allocations: 0.947 MB / 1.075 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008497/0.3745, allocations: 409.1 kB / 1.075 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.3746, allocations: 0 / 1.075 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.3746, allocations: 11.94 kB / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.755e-05/0.3747, allocations: 0 / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.3751, allocations: 87.78 kB / 1.076 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.522e-05/0.3752, allocations: 15.98 kB / 1.076 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.722e-05/0.3752, allocations: 0 / 1.076 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.579e-05/0.3753, allocations: 11.92 kB / 1.076 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.287e-05/0.3753, allocations: 11.98 kB / 1.076 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.3753, allocations: 0 / 1.076 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001959/0.3755, allocations: 99.83 kB / 1.076 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.3755, allocations: 11.94 kB / 1.076 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.3756, allocations: 29.7 kB / 1.076 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.3758, allocations: 95.8 kB / 1.076 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3758, allocations: 0 / 1.076 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.937e-06/0.3758, allocations: 0 / 1.076 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.3758, allocations: 3.938 kB / 1.076 GB, free: 5.859 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004678/0.3763, allocations: 373.5 kB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3763, allocations: 12.03 kB / 1.076 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.3764, allocations: 4.844 kB / 1.076 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.3765, allocations: 176.3 kB / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.3765, allocations: 384 / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.3765, allocations: 384 / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.3767, allocations: 42.25 kB / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.3767, allocations: 192 / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.3767, allocations: 3.938 kB / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3767, allocations: 0 / 1.076 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.796e-05/0.3767, allocations: 4 kB / 1.076 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.3769, allocations: 157.7 kB / 1.077 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.762e-05/0.377, allocations: 34.52 kB / 1.077 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.3771, allocations: 12.94 kB / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.3771, allocations: 0 / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.3772, allocations: 55.39 kB / 1.077 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.167e-05/0.3773, allocations: 0 / 1.077 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002132/0.3775, allocations: 77.45 kB / 1.077 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.3775, allocations: 59.41 kB / 1.077 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.518e-05/0.3776, allocations: 101.8 kB / 1.077 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.3777, allocations: 29.7 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.3777, allocations: 84.14 kB / 1.077 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.215e-05/0.3777, allocations: 3.906 kB / 1.077 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.3778, allocations: 17.72 kB / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3779, allocations: 314.8 kB / 1.077 GB, free: 4.102 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.3779, allocations: 8 kB / 1.077 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.862e-05/0.3779, allocations: 43.41 kB / 1.077 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.663e-05/0.378, allocations: 39.38 kB / 1.077 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.378, allocations: 0 / 1.077 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.791e-05/0.3781, allocations: 73.59 kB / 1.077 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.3781, allocations: 11.88 kB / 1.077 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3781, allocations: 4 kB / 1.077 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3782, allocations: 0 / 1.077 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.3782, allocations: 11.98 kB / 1.077 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3782, allocations: 160 / 1.077 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.566e-05/0.3783, allocations: 7.906 kB / 1.077 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3783, allocations: 4 kB / 1.077 GB, free: 3.871 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.856e-05/0.3784, allocations: 117.8 kB / 1.078 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.267e-06/0.3784, allocations: 8 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.3784, allocations: 7.5 kB / 1.078 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3784, allocations: 3.984 kB / 1.078 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3784, allocations: 4 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3785, allocations: 4 kB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.3786, allocations: 153.6 kB / 1.078 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3786, allocations: 0 / 1.078 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.038e-05/0.3786, allocations: 3.938 kB / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3786, allocations: 3.938 kB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3786, allocations: 8 kB / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3786, allocations: 4 kB / 1.078 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3787, allocations: 0 / 1.078 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.3788, allocations: 81.11 kB / 1.078 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.3788, allocations: 81.02 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.3788, allocations: 7.938 kB / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.032e-05/0.3789, allocations: 480 / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.3789, allocations: 3.984 kB / 1.078 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3789, allocations: 4 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.411e-05/0.3789, allocations: 83.27 kB / 1.078 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.379, allocations: 0 / 1.078 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002475/0.3792, allocations: 35.98 kB / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003375/0.3796, allocations: 159.4 kB / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.3797, allocations: 24.11 kB / 1.078 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3797, allocations: 4.062 kB / 1.078 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.461e-05/0.3797, allocations: 11.94 kB / 1.078 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.3799, allocations: 8 kB / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.3801, allocations: 118.6 kB / 1.078 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.3804, allocations: 0.6731 MB / 1.079 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.175e-05/0.3804, allocations: 11.92 kB / 1.079 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.322e-05/0.3804, allocations: 11.44 kB / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3804, allocations: 0 / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of Templates: time 0.003307/0.3837, allocations: 0.9979 MB / 1.08 GB, free: 1.102 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)