Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.704/1.704, allocations: 292.6 MB / 307.5 MB, free: 5.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001768/0.001768, allocations: 187.3 kB / 377.1 MB, free: 1.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.4 MB / 0.6367 GB, free: 8.551 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008069/0.0008069, allocations: 91.89 kB / 0.751 GB, free: 63.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004577/0.0004578, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3195, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.746/1.066, allocations: 139.2 MB / 1.124 GB, free: 35.48 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/1.066, allocations: 70.78 kB / 1.124 GB, free: 35.43 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/exponentialVariableGeneration.mo:11:5-11:98:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.005266/1.071, allocations: 2.058 MB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.973e-06/1.071, allocations: 0 / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.861e-06/1.071, allocations: 0 / 1.126 GB, free: 33.93 MB / 0.7292 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.0003288/1.072, allocations: 356.2 kB / 1.127 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/1.072, allocations: 10.88 kB / 1.127 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/1.072, allocations: 3.562 kB / 1.127 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.438e-05/1.072, allocations: 166.7 kB / 1.127 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/1.072, allocations: 1.453 kB / 1.127 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/1.072, allocations: 7.438 kB / 1.127 GB, free: 33.33 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.439e-05/1.072, allocations: 38.28 kB / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.072, allocations: 0.5625 kB / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/1.072, allocations: 0 / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.072, allocations: 1.969 kB / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.593e-05/1.072, allocations: 11.7 kB / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/1.072, allocations: 157.9 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.719e-05/1.072, allocations: 28.77 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.278e-06/1.072, allocations: 1.156 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/1.072, allocations: 64.52 kB / 1.127 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 2.675e-06/1.072, allocations: 0.9375 kB / 1.127 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001715/1.072, allocations: 67.47 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/1.072, allocations: 55.34 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.251e-05/1.073, allocations: 93.5 kB / 1.127 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/1.073, allocations: 30.36 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.938e-05/1.073, allocations: 86.98 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/1.073, allocations: 7.891 kB / 1.127 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/1.073, allocations: 4 kB / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.553e-05/1.073, allocations: 318.8 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/1.073, allocations: 4 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.027e-05/1.073, allocations: 35.81 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/1.073, allocations: 12.56 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.073, allocations: 0 / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.175e-05/1.073, allocations: 77.84 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/1.073, allocations: 4.938 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/1.073, allocations: 4 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/1.073, allocations: 0 / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.198e-05/1.073, allocations: 16.59 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/1.073, allocations: 1.234 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.676e-05/1.073, allocations: 0 / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/1.073, allocations: 7.609 kB / 1.128 GB, free: 32.15 MB / 0.7292 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.01e-05/1.073, allocations: 113.8 kB / 1.128 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-06/1.073, allocations: 3.953 kB / 1.128 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.57e-05/1.073, allocations: 4.344 kB / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/1.073, allocations: 0 / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.073, allocations: 4.688 kB / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/1.073, allocations: 4 kB / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.781e-05/1.073, allocations: 153.3 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.073, allocations: 0.5625 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/1.073, allocations: 0.5 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/1.073, allocations: 7.469 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/1.073, allocations: 0 / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/1.073, allocations: 9.188 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/1.073, allocations: 0 / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/1.073, allocations: 85.95 kB / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/1.074, allocations: 81.02 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/1.074, allocations: 7.953 kB / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.029e-05/1.074, allocations: 7.938 kB / 1.128 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/1.074, allocations: 4.797 kB / 1.128 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/1.074, allocations: 0 / 1.128 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.746e-05/1.074, allocations: 79.28 kB / 1.128 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/1.074, allocations: 0 / 1.128 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002639/1.074, allocations: 43.45 kB / 1.129 GB, free: 31.48 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003323/1.074, allocations: 169 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.376e-05/1.074, allocations: 29.19 kB / 1.129 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/1.074, allocations: 0 / 1.129 GB, free: 31.31 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.688e-05/1.074, allocations: 15.94 kB / 1.129 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.058e-05/1.074, allocations: 4.547 kB / 1.129 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002247/1.075, allocations: 113.4 kB / 1.129 GB, free: 31.17 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.173e-05/1.075, allocations: 0.6804 MB / 1.129 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.121e-05/1.075, allocations: 0.75 kB / 1.129 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/1.075, allocations: 11.44 kB / 1.13 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of SimCode: time 3.31e-07/1.075, allocations: 0 / 1.13 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of Templates: time 0.003076/1.078, allocations: 1.117 MB / 1.131 GB, free: 29.82 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)