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.001247/0.001247, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009019/0.00902, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.477/1.477, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.956/2.956, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003346, allocations: 11.73 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3431, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.00134/0.3445, allocations: 0.9431 MB / 1.075 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008635/0.3453, allocations: 401 kB / 1.075 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.175e-05/0.3454, allocations: 4 kB / 1.075 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.616e-05/0.3454, allocations: 0 / 1.075 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.666e-05/0.3454, allocations: 0 / 1.075 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.3459, allocations: 75.8 kB / 1.075 GB, free: 6.133 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.815e-05/0.346, allocations: 15.98 kB / 1.076 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.298e-05/0.346, allocations: 0 / 1.076 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.418e-05/0.3461, allocations: 11.92 kB / 1.076 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.944e-05/0.3461, allocations: 8 kB / 1.076 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.3461, allocations: 0 / 1.076 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.3463, allocations: 87.84 kB / 1.076 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.3463, allocations: 11.98 kB / 1.076 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.3464, allocations: 33.64 kB / 1.076 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.3466, allocations: 79.88 kB / 1.076 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3466, allocations: 0 / 1.076 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3466, allocations: 3.938 kB / 1.076 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.3466, allocations: 0 / 1.076 GB, free: 5.879 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.0003964/0.347, allocations: 331.6 kB / 1.076 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.347, allocations: 12.03 kB / 1.076 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.3471, allocations: 4.938 kB / 1.076 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.3472, allocations: 172.7 kB / 1.076 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.3472, allocations: 4.375 kB / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/0.3472, allocations: 384 / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.32e-05/0.3473, allocations: 38.19 kB / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.3473, allocations: 192 / 1.076 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3474, allocations: 3.938 kB / 1.076 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3474, allocations: 4 kB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.347e-05/0.3474, allocations: 4 kB / 1.076 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001512/0.3476, allocations: 161.5 kB / 1.076 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.452e-05/0.3476, allocations: 30.61 kB / 1.076 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.852e-05/0.3477, allocations: 20.73 kB / 1.076 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.3477, allocations: 0 / 1.076 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/0.3478, allocations: 55.48 kB / 1.077 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3478, allocations: 0 / 1.077 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001732/0.348, allocations: 69.61 kB / 1.077 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.3481, allocations: 59.41 kB / 1.077 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.893e-05/0.3481, allocations: 97.8 kB / 1.077 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.3481, allocations: 29.7 kB / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.3482, allocations: 80.14 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.3482, allocations: 7.906 kB / 1.077 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.509e-05/0.3482, allocations: 17.7 kB / 1.077 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.3483, allocations: 314.8 kB / 1.077 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.196e-05/0.3484, allocations: 4.125 kB / 1.077 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.675e-05/0.3484, allocations: 47.34 kB / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.067e-05/0.3485, allocations: 43.38 kB / 1.077 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3485, allocations: 0 / 1.077 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.745e-05/0.3486, allocations: 73.75 kB / 1.077 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.3486, allocations: 7.938 kB / 1.077 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3486, allocations: 4 kB / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.3486, allocations: 0 / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.869e-05/0.3487, allocations: 15.94 kB / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3487, allocations: 0 / 1.077 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/0.3487, allocations: 3.984 kB / 1.077 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3487, allocations: 4 kB / 1.077 GB, free: 3.941 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.474e-05/0.3488, allocations: 113.9 kB / 1.077 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.3489, allocations: 11.92 kB / 1.078 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.3489, allocations: 3.5 kB / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3489, allocations: 0 / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.3489, allocations: 4 kB / 1.078 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3489, allocations: 0 / 1.078 GB, free: 3.797 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.349, allocations: 157.7 kB / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3491, allocations: 0 / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/0.3491, allocations: 0 / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3491, allocations: 3.938 kB / 1.078 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.3491, allocations: 0 / 1.078 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3491, allocations: 8 kB / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3491, allocations: 0 / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.3492, allocations: 85.05 kB / 1.078 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.3493, allocations: 81.02 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3493, allocations: 7.938 kB / 1.078 GB, free: 3.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.126e-05/0.3493, allocations: 4 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.3493, allocations: 3.984 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.3493, allocations: 3.938 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.132e-05/0.3494, allocations: 87.28 kB / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3494, allocations: 0 / 1.078 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002353/0.3496, allocations: 27.98 kB / 1.078 GB, free: 3.25 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.0003276/0.35, allocations: 158.7 kB / 1.078 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.413e-05/0.3501, allocations: 36.05 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3501, allocations: 0 / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.137e-05/0.3501, allocations: 12 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.3503, allocations: 4 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/0.3505, allocations: 98.78 kB / 1.078 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.3507, allocations: 0.6809 MB / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.54e-05/0.3507, allocations: 8.188 kB / 1.079 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.682e-05/0.3507, allocations: 7.438 kB / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.3507, allocations: 0 / 1.079 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of Templates: time 0.003279/0.354, allocations: 0.9412 MB / 1.08 GB, free: 1.258 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)