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: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.879/1.879, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001689/0.001689, allocations: 175.3 kB / 377.1 MB, free: 1.547 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.673/1.673, allocations: 205.4 MB / 0.6366 GB, free: 9.516 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.001309/0.001309, allocations: 84.19 kB / 0.7509 GB, free: 62.65 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.000349, allocations: 8 kB / 0.8748 GB, free: 11.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3021, allocations: 116.3 MB / 0.9884 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8553/1.158, allocations: 139.2 MB / 1.124 GB, free: 35.6 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/1.158, allocations: 70.55 kB / 1.124 GB, free: 35.54 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.005337/1.163, allocations: 2.058 MB / 1.126 GB, free: 34.04 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.164e-06/1.163, allocations: 0 / 1.126 GB, free: 34.04 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.424e-06/1.163, allocations: 0.875 kB / 1.126 GB, free: 34.04 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.0003925/1.164, allocations: 354 kB / 1.127 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.164, allocations: 8.031 kB / 1.127 GB, free: 33.65 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.091e-05/1.164, allocations: 38.62 kB / 1.127 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/1.164, allocations: 9.969 kB / 1.127 GB, free: 33.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/1.164, allocations: 159.1 kB / 1.127 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/1.164, allocations: 3.938 kB / 1.127 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/1.164, allocations: 6.047 kB / 1.127 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/1.164, allocations: 45.8 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/1.164, allocations: 0 / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/1.164, allocations: 1.719 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/1.164, allocations: 0.9062 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.586e-05/1.164, allocations: 4.75 kB / 1.127 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/1.165, allocations: 261.1 kB / 1.127 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8e-05/1.165, allocations: 36.84 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/1.165, allocations: 0 / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/1.165, allocations: 62.98 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 3.207e-06/1.165, allocations: 3.922 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0001949/1.165, allocations: 76.86 kB / 1.127 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/1.165, allocations: 51.41 kB / 1.127 GB, free: 32.82 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.663e-05/1.165, allocations: 89 kB / 1.128 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/1.165, allocations: 29.7 kB / 1.128 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.806e-05/1.165, allocations: 80.14 kB / 1.128 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/1.165, allocations: 15.23 kB / 1.128 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/1.165, allocations: 4.938 kB / 1.128 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.535e-05/1.165, allocations: 314.8 kB / 1.128 GB, free: 32.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/1.165, allocations: 15.64 kB / 1.128 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.08e-05/1.165, allocations: 32.3 kB / 1.128 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.903e-05/1.165, allocations: 12.59 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/1.165, allocations: 0 / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.87e-05/1.165, allocations: 73.14 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/1.165, allocations: 11.44 kB / 1.128 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.165, allocations: 4 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/1.165, allocations: 0.5625 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.129e-05/1.165, allocations: 9.125 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/1.166, allocations: 0 / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.784e-05/1.166, allocations: 7.906 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/1.166, allocations: 4 kB / 1.128 GB, free: 32.11 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.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.851e-05/1.166, allocations: 122.2 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/1.166, allocations: 5.219 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/1.166, allocations: 7.562 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/1.166, allocations: 0 / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.166, allocations: 0 / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/1.166, allocations: 0 / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/1.166, allocations: 306.6 kB / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.166, allocations: 0 / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/1.166, allocations: 4 kB / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.166, allocations: 0 / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/1.166, allocations: 0.5 kB / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.166, allocations: 0 / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.166, allocations: 4 kB / 1.129 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/1.166, allocations: 166.7 kB / 1.129 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/1.166, allocations: 89.03 kB / 1.129 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/1.166, allocations: 4.562 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/1.166, allocations: 1.266 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/1.166, allocations: 0 / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/1.166, allocations: 4.562 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.006e-05/1.166, allocations: 86.61 kB / 1.129 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.166, allocations: 0 / 1.129 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004196/1.167, allocations: 36.56 kB / 1.129 GB, free: 31.22 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,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0006511/1.167, allocations: 0.7833 MB / 1.13 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001143/1.168, allocations: 35.36 kB / 1.13 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.168, allocations: 0 / 1.13 GB, free: 30.42 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-05/1.168, allocations: 8 kB / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/1.168, allocations: 13.3 kB / 1.13 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006815/1.168, allocations: 0.7938 MB / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/1.169, allocations: 0.6804 MB / 1.131 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.89e-05/1.169, allocations: 8 kB / 1.131 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/1.169, allocations: 11.44 kB / 1.131 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/1.169, allocations: 3.938 kB / 1.131 GB, free: 28.85 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01547/1.184, allocations: 1.836 MB / 1.133 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002104/1.184, allocations: 246.4 kB / 1.133 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.812/2.996, allocations: 9.594 kB / 1.133 GB, free: 27.61 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)