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.001351/0.001351, 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.001566/0.001567, allocations: 198.5 kB / 16.14 MB, free: 6.695 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.43/1.43, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.885/2.885, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 58.22 kB / 0.9113 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3706, allocations: 159.9 MB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.00243/0.3731, allocations: 1.282 MB / 1.069 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008856/0.374, allocations: 428.9 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.374, allocations: 4 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.46e-05/0.3741, allocations: 3.938 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.802e-05/0.3741, allocations: 0 / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.3746, allocations: 87.78 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.2e-05/0.3746, allocations: 15.94 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.95e-05/0.3747, allocations: 7.984 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.269e-05/0.3747, allocations: 4 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.435e-05/0.3748, allocations: 15.92 kB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.3748, allocations: 0 / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.375, allocations: 95.84 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.375, allocations: 7.984 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.3751, allocations: 15.92 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.3753, allocations: 91.75 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3753, allocations: 0 / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.82e-07/0.3753, allocations: 0 / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3753, allocations: 4 kB / 1.069 GB, free: 8.848 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.0005313/0.3758, allocations: 385.4 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3759, allocations: 12.03 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.3759, allocations: 0.9375 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.376, allocations: 160.4 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.3761, allocations: 4.375 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.3761, allocations: 4.375 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.3762, allocations: 42.23 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3762, allocations: 4.188 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.3762, allocations: 3.938 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3763, allocations: 0 / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.179e-05/0.3763, allocations: 4 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.3765, allocations: 153.7 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.843e-05/0.3766, allocations: 38.53 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.395e-05/0.3766, allocations: 12.86 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.168e-06/0.3766, allocations: 0 / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.3768, allocations: 59.48 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.3768, allocations: 0 / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002309/0.377, allocations: 77.45 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/0.3771, allocations: 55.41 kB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.803e-05/0.3772, allocations: 97.86 kB / 1.071 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3772, allocations: 25.7 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.3772, allocations: 92.06 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.3773, allocations: 11.91 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.3773, allocations: 17.72 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3774, allocations: 318.8 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.3775, allocations: 4 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.087e-05/0.3775, allocations: 31.44 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.255e-05/0.3776, allocations: 51.36 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3776, allocations: 0 / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001089/0.3777, allocations: 69.56 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3777, allocations: 9.5 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3777, allocations: 0 / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3778, allocations: 4 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.3778, allocations: 12.08 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3778, allocations: 4 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.3779, allocations: 3.906 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.3779, allocations: 4 kB / 1.071 GB, free: 6.855 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 8.275e-05/0.378, allocations: 113.8 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.378, allocations: 11.88 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.378, allocations: 3.5 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.378, allocations: 0 / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.378, allocations: 0 / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.378, allocations: 4 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.3782, allocations: 157.7 kB / 1.071 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3782, allocations: 4 kB / 1.071 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.089e-05/0.3782, allocations: 7.938 kB / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3782, allocations: 3.938 kB / 1.071 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/0.3782, allocations: 0 / 1.071 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3782, allocations: 0 / 1.071 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3782, allocations: 4 kB / 1.071 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.3784, allocations: 89.53 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.3784, allocations: 85.05 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.3785, allocations: 7.938 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.273e-05/0.3785, allocations: 4 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.3785, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.3785, allocations: 3.984 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.402e-05/0.3786, allocations: 83.22 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3786, allocations: 0 / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000252/0.3788, allocations: 35.98 kB / 1.072 GB, free: 6.148 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.0003491/0.3792, allocations: 158 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001105/0.3793, allocations: 27.92 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3793, allocations: 0 / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.065e-05/0.3794, allocations: 15.94 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.3795, allocations: 5.547 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/0.3798, allocations: 122.8 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.3801, allocations: 0.6731 MB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.243e-05/0.3801, allocations: 7.984 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.566e-05/0.3801, allocations: 7.438 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3801, allocations: 3.938 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of Templates: time 0.003378/0.3835, allocations: 1.008 MB / 1.074 GB, free: 4.07 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)