Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001883/0.001883, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002758/0.002758, allocations: 192.9 kB / 16.13 MB, free: 6.656 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.458/1.458, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.9/2.9, allocations: 472.6 MB / 0.7447 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 70.22 kB / 0.9113 GB, free: 33.76 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.352, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002682/0.3548, allocations: 1.282 MB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008993/0.3557, allocations: 432.8 kB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.414e-05/0.3557, allocations: 4 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.768e-05/0.3558, allocations: 0 / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.741e-05/0.3558, allocations: 0 / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.3563, allocations: 83.8 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.941e-05/0.3563, allocations: 27.91 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.3564, allocations: 0 / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.182e-05/0.3564, allocations: 7.938 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.274e-05/0.3565, allocations: 11.98 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.3565, allocations: 0 / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.3567, allocations: 95.84 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.3567, allocations: 7.938 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.404e-05/0.3568, allocations: 15.92 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.3569, allocations: 83.88 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.357, allocations: 0 / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.32e-07/0.357, allocations: 0 / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.357, allocations: 4 kB / 1.069 GB, free: 8.883 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.0004848/0.3575, allocations: 385.4 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3575, allocations: 12.03 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.3576, allocations: 0.9375 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.3577, allocations: 164.4 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.3577, allocations: 4.375 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.3577, allocations: 384 / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.3578, allocations: 42.25 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.3579, allocations: 8.125 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3579, allocations: 3.938 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3579, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.092e-05/0.3579, allocations: 4 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.3581, allocations: 157.7 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.044e-05/0.3582, allocations: 26.58 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.3582, allocations: 12.95 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.3582, allocations: 3.984 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.3584, allocations: 59.34 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.3584, allocations: 0 / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002008/0.3586, allocations: 69.7 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.3586, allocations: 63.39 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.757e-05/0.3587, allocations: 101.8 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.3587, allocations: 29.7 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.3588, allocations: 88.08 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.3588, allocations: 7.906 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.3588, allocations: 17.72 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.359, allocations: 322.8 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.255e-05/0.359, allocations: 4 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.943e-05/0.359, allocations: 39.36 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.181e-05/0.3591, allocations: 47.38 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3591, allocations: 0 / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001159/0.3592, allocations: 69.56 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.3593, allocations: 7.938 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3593, allocations: 0 / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3593, allocations: 4 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.245e-05/0.3593, allocations: 12.08 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.3594, allocations: 4 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.607e-05/0.3594, allocations: 3.906 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.3594, allocations: 4 kB / 1.071 GB, free: 6.883 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.532e-05/0.3595, allocations: 117.7 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.3595, allocations: 11.94 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.3595, allocations: 3.5 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3595, allocations: 3.984 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3596, allocations: 4 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3596, allocations: 0 / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.3597, allocations: 153.7 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3597, allocations: 0 / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.262e-05/0.3597, allocations: 4 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3597, allocations: 3.938 kB / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3597, allocations: 0 / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3597, allocations: 0 / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3598, allocations: 4 kB / 1.071 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001494/0.3599, allocations: 93.05 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.36, allocations: 81.02 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.36, allocations: 3.938 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.41e-05/0.36, allocations: 8 kB / 1.072 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.126e-05/0.36, allocations: 3.984 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.36, allocations: 0 / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.227e-05/0.3601, allocations: 79.28 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3601, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002634/0.3604, allocations: 35.98 kB / 1.072 GB, free: 6.184 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.0003459/0.3607, allocations: 167.8 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.3608, allocations: 27.92 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3609, allocations: 0 / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.064e-05/0.3609, allocations: 12 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.3611, allocations: 10.05 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/0.3613, allocations: 122.8 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.3616, allocations: 0.677 MB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.3617, allocations: 4 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/0.3617, allocations: 7.438 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.3617, allocations: 0 / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of Templates: time 0.003219/0.3649, allocations: 1.019 MB / 1.074 GB, free: 4.094 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)