Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.713/3.713, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002257/0.002257, allocations: 185.5 kB / 326.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.086/4.086, allocations: 205.4 MB / 0.5772 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001459/0.001459, allocations: 94.89 kB / 0.6817 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007516/0.0007518, allocations: 10.94 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3415, allocations: 106.3 MB / 0.8995 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3283/0.6699, allocations: 131.7 MB / 1.028 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004123/0.6704, allocations: 79.95 kB / 1.028 GB, free: 14.04 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.01347/0.6839, allocations: 2.078 MB / 1.03 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.527e-06/0.6839, allocations: 0 / 1.03 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.6839, allocations: 0 / 1.03 GB, free: 11.95 MB / 0.6823 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.000634/0.6846, allocations: 359.4 kB / 1.031 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.282e-05/0.6847, allocations: 12.03 kB / 1.031 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.6847, allocations: 0.9375 kB / 1.031 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.6849, allocations: 164.3 kB / 1.031 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.6849, allocations: 384 / 1.031 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.685, allocations: 4.375 kB / 1.031 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.6852, allocations: 46.23 kB / 1.031 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.6852, allocations: 192 / 1.031 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.6852, allocations: 11.92 kB / 1.031 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.6853, allocations: 4 kB / 1.031 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.268e-05/0.6853, allocations: 0 / 1.031 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.6856, allocations: 157.6 kB / 1.031 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001282/0.6857, allocations: 35.98 kB / 1.031 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.052e-05/0.6858, allocations: 8.859 kB / 1.031 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.6859, allocations: 0 / 1.031 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000206/0.6861, allocations: 55.5 kB / 1.031 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 2.715e-06/0.6861, allocations: 0 / 1.031 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0003514/0.6865, allocations: 77.55 kB / 1.031 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.893e-05/0.6866, allocations: 51.41 kB / 1.031 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.6867, allocations: 101.8 kB / 1.031 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.6867, allocations: 25.7 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.6868, allocations: 88.27 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/0.6869, allocations: 11.84 kB / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.6869, allocations: 0 / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.6871, allocations: 314.8 kB / 1.032 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.392e-05/0.6871, allocations: 11.92 kB / 1.032 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.271e-05/0.6872, allocations: 35.42 kB / 1.032 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.011e-05/0.6873, allocations: 16 kB / 1.032 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6873, allocations: 0 / 1.032 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000244/0.6876, allocations: 73.55 kB / 1.032 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.6877, allocations: 7.938 kB / 1.032 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.6877, allocations: 0 / 1.032 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.6877, allocations: 4 kB / 1.032 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.6879, allocations: 4 kB / 1.032 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.6879, allocations: 4 kB / 1.032 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.96e-05/0.688, allocations: 0 / 1.032 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.688, allocations: 8.094 kB / 1.032 GB, free: 10.06 MB / 0.6823 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 0.0001411/0.6882, allocations: 113.8 kB / 1.032 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.6882, allocations: 11.84 kB / 1.032 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.546e-05/0.6883, allocations: 7.438 kB / 1.032 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.6883, allocations: 0 / 1.032 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.6883, allocations: 0 / 1.032 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.6883, allocations: 0 / 1.032 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.6886, allocations: 157.7 kB / 1.032 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6886, allocations: 0 / 1.032 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.685e-05/0.6887, allocations: 8 kB / 1.032 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.6887, allocations: 4.172 kB / 1.032 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.6887, allocations: 0 / 1.032 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.6887, allocations: 0 / 1.032 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6887, allocations: 0 / 1.032 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.689, allocations: 85.09 kB / 1.032 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.6891, allocations: 81.11 kB / 1.032 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.6891, allocations: 7.922 kB / 1.032 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.869e-05/0.6892, allocations: 7.938 kB / 1.032 GB, free: 9.488 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.6893, allocations: 8 kB / 1.032 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.6893, allocations: 0 / 1.032 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.213e-05/0.6894, allocations: 79.22 kB / 1.032 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.12e-07/0.6894, allocations: 0 / 1.032 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000668/0.6901, allocations: 47.86 kB / 1.032 GB, free: 9.355 MB / 0.6823 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.000674/0.6908, allocations: 165.4 kB / 1.033 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002243/0.691, allocations: 23.98 kB / 1.033 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.691, allocations: 3.938 kB / 1.033 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.684e-05/0.6911, allocations: 12 kB / 1.033 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.6914, allocations: 7.938 kB / 1.033 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004768/0.6919, allocations: 108.6 kB / 1.033 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.6923, allocations: 0.6811 MB / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.185e-05/0.6924, allocations: 4 kB / 1.033 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.6924, allocations: 11.44 kB / 1.033 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of SimCode: time 1.122e-06/0.6924, allocations: 0 / 1.033 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of Templates: time 0.007428/0.6999, allocations: 1.122 MB / 1.034 GB, free: 7.18 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)