Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, 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.001762/0.001761, 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.423/1.423, 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.93/2.93, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 65.36 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3672, allocations: 159.9 MB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002583/0.3698, allocations: 1.267 MB / 1.069 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001/0.3708, allocations: 412.9 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.732e-05/0.3709, allocations: 0 / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.3709, allocations: 0 / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.994e-05/0.371, allocations: 7.938 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005414/0.3715, allocations: 71.86 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.035e-05/0.3716, allocations: 23.86 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.3717, allocations: 4 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.032e-05/0.3717, allocations: 3.984 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.714e-05/0.3717, allocations: 7.984 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.3717, allocations: 0 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.3719, allocations: 87.91 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.372, allocations: 7.938 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.372, allocations: 4 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.3722, allocations: 87.75 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3722, allocations: 8 kB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3722, allocations: 0 / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.3722, allocations: 0 / 1.069 GB, free: 8.926 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.000489/0.3727, allocations: 339.6 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.3727, allocations: 12.03 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.3728, allocations: 0.9375 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.3729, allocations: 164.6 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3729, allocations: 384 / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.373, allocations: 8.375 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.3731, allocations: 42.23 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3731, allocations: 192 / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.3731, allocations: 3.938 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.3731, allocations: 4 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.696e-05/0.3732, allocations: 3.938 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.3734, allocations: 157.6 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.849e-05/0.3734, allocations: 30.61 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.3735, allocations: 12.86 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.3735, allocations: 0 / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.3737, allocations: 59.42 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3737, allocations: 0 / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.000217/0.3739, allocations: 73.55 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.3739, allocations: 55.41 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.701e-05/0.374, allocations: 101.8 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/0.3741, allocations: 29.7 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.3741, allocations: 80.14 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.3741, allocations: 7.906 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.3742, allocations: 25.7 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3743, allocations: 310.8 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.23e-05/0.3743, allocations: 11.94 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.116e-05/0.3744, allocations: 39.55 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.943e-05/0.3744, allocations: 39.38 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3744, allocations: 0 / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.894e-05/0.3745, allocations: 73.47 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.3746, allocations: 12.03 kB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3746, allocations: 3.984 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3746, allocations: 4 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/0.3747, allocations: 4 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3747, allocations: 4 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.258e-05/0.3748, allocations: 8 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.3748, allocations: 4 kB / 1.071 GB, free: 6.984 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.238e-05/0.3749, allocations: 109.8 kB / 1.071 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.3749, allocations: 7.875 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.3749, allocations: 15.48 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3749, allocations: 0 / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3749, allocations: 0 / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3749, allocations: 0 / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.3751, allocations: 153.7 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3751, allocations: 0 / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.516e-05/0.3751, allocations: 4 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3751, allocations: 3.938 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.3751, allocations: 4 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3751, allocations: 0 / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3751, allocations: 0 / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.3752, allocations: 96.95 kB / 1.071 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.3753, allocations: 77.11 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.3753, allocations: 3.938 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.013e-05/0.3753, allocations: 0 / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.3754, allocations: 7.984 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.3754, allocations: 0 / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.3754, allocations: 91.22 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3754, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002634/0.3757, allocations: 28 kB / 1.072 GB, free: 6.293 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.0003715/0.3761, allocations: 170.4 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.3762, allocations: 27.92 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3762, allocations: 288 / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.615e-05/0.3763, allocations: 15.98 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.3764, allocations: 7 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.3767, allocations: 106.7 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.377, allocations: 0.677 MB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.533e-05/0.377, allocations: 4 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.68e-05/0.377, allocations: 7.438 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.377, allocations: 4 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of Templates: time 0.003362/0.3804, allocations: 0.9444 MB / 1.074 GB, free: 4.289 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)