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.891/1.891, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.001213/0.001213, allocations: 179.5 kB / 371.6 MB, free: 3.43 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.62/1.62, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008443/0.0008447, allocations: 89.28 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 2.834e-05/2.836e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2183, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7385/0.9568, allocations: 139.1 MB / 1.116 GB, free: 44.49 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/0.9571, allocations: 71.11 kB / 1.116 GB, free: 44.46 MB / 0.7448 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.005012/0.9621, allocations: 2.044 MB / 1.118 GB, free: 43.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9621, allocations: 0.7812 kB / 1.118 GB, free: 43.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.9621, allocations: 0 / 1.118 GB, free: 43.25 MB / 0.7448 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.0002874/0.9624, allocations: 355.8 kB / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.9625, allocations: 9.375 kB / 1.118 GB, free: 42.87 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.186e-05/0.9626, allocations: 40.16 kB / 1.118 GB, free: 42.83 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.9626, allocations: 5.719 kB / 1.118 GB, free: 42.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.937e-05/0.9627, allocations: 159.6 kB / 1.118 GB, free: 42.63 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.9627, allocations: 4.109 kB / 1.118 GB, free: 42.63 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.9627, allocations: 4.703 kB / 1.118 GB, free: 42.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.361e-05/0.9628, allocations: 37.45 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.9628, allocations: 8.203 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.9629, allocations: 0.5156 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.9629, allocations: 1.219 kB / 1.118 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.564e-05/0.9629, allocations: 7.938 kB / 1.118 GB, free: 42.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.9632, allocations: 254.3 kB / 1.119 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.989e-05/0.9633, allocations: 35.12 kB / 1.119 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/0.9633, allocations: 14.48 kB / 1.119 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.9633, allocations: 4 kB / 1.119 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001007/0.9634, allocations: 57.2 kB / 1.119 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.9634, allocations: 4.438 kB / 1.119 GB, free: 42.19 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.000155/0.9636, allocations: 63.48 kB / 1.119 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.9637, allocations: 51.41 kB / 1.119 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.976e-05/0.9637, allocations: 92.88 kB / 1.119 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.9637, allocations: 25.7 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.93e-05/0.9638, allocations: 80.14 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.9638, allocations: 19.25 kB / 1.119 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.9638, allocations: 2.625 kB / 1.119 GB, free: 41.85 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.585e-05/0.9639, allocations: 317.9 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.9639, allocations: 11.31 kB / 1.119 GB, free: 41.53 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.105e-05/0.9639, allocations: 40.95 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.665e-05/0.964, allocations: 13.16 kB / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.964, allocations: 0 / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.281e-05/0.9641, allocations: 69.31 kB / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.9641, allocations: 7.938 kB / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.9641, allocations: 4 kB / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.9641, allocations: 0 / 1.119 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.739e-05/0.9642, allocations: 16.3 kB / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.9642, allocations: 0 / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.9642, allocations: 12.47 kB / 1.12 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.9642, allocations: 0 / 1.12 GB, free: 41.38 MB / 0.7448 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 () * 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 4.602e-05/0.9643, allocations: 113.9 kB / 1.12 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.9643, allocations: 0 / 1.12 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.9643, allocations: 7.469 kB / 1.12 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.9643, allocations: 4 kB / 1.12 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.9643, allocations: 1.312 kB / 1.12 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.9643, allocations: 3.469 kB / 1.12 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.9645, allocations: 302.8 kB / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.9645, allocations: 7.469 kB / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/0.9646, allocations: 0 / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.9646, allocations: 4.656 kB / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.9646, allocations: 3.688 kB / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.9646, allocations: 0 / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.9646, allocations: 0.5469 kB / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.729e-05/0.9647, allocations: 159.8 kB / 1.12 GB, free: 40.76 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.9647, allocations: 81.02 kB / 1.12 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.9648, allocations: 8 kB / 1.12 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.66e-05/0.9648, allocations: 7.844 kB / 1.12 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.9648, allocations: 3.328 kB / 1.12 GB, free: 40.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.9648, allocations: 5.5 kB / 1.12 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.78e-05/0.9649, allocations: 75.28 kB / 1.12 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9649, allocations: 0 / 1.12 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002559/0.9651, allocations: 46.78 kB / 1.12 GB, free: 40.53 MB / 0.7448 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 () * 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.0005391/0.9657, allocations: 0.7635 MB / 1.121 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.32e-05/0.9658, allocations: 42.64 kB / 1.121 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.9658, allocations: 0 / 1.121 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.779e-05/0.9658, allocations: 19.5 kB / 1.121 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.966, allocations: 4.125 kB / 1.121 GB, free: 39.74 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.9663, allocations: 117.2 kB / 1.121 GB, free: 39.61 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.9664, allocations: 0.6875 MB / 1.122 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.314e-05/0.9665, allocations: 4 kB / 1.122 GB, free: 38.9 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.9665, allocations: 7.438 kB / 1.122 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of SimCode: time 3.31e-07/0.9665, allocations: 0 / 1.122 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.9807, allocations: 1.86 MB / 1.124 GB, free: 37.89 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.9809, allocations: 213.5 kB / 1.124 GB, free: 37.67 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.602, allocations: 0 / 1.124 GB, free: 37.67 MB / 0.7448 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)