Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.69/2.69, allocations: 287.3 MB / 302.3 MB, free: 8.348 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.001737/0.001737, allocations: 169.1 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.358/2.358, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001146/0.001146, allocations: 90.41 kB / 0.7428 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000493/0.0004933, allocations: 10.59 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2147, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9647/1.179, allocations: 138 MB / 1.113 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/1.18, allocations: 72.45 kB / 1.113 GB, free: 15.74 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.008665/1.188, allocations: 2.057 MB / 1.115 GB, free: 31.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/1.189, allocations: 0 / 1.115 GB, free: 31.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.344e-06/1.189, allocations: 1.156 kB / 1.115 GB, free: 31.36 MB / 0.698 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.0005205/1.189, allocations: 358.4 kB / 1.115 GB, free: 30.99 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/1.189, allocations: 9.219 kB / 1.115 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.811e-05/1.189, allocations: 39.58 kB / 1.116 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/1.189, allocations: 9.891 kB / 1.116 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/1.189, allocations: 164.3 kB / 1.116 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/1.189, allocations: 9.125 kB / 1.116 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/1.189, allocations: 2.562 kB / 1.116 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/1.19, allocations: 37.64 kB / 1.116 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/1.19, allocations: 0 / 1.116 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/1.19, allocations: 0 / 1.116 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/1.19, allocations: 3.875 kB / 1.116 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.496e-05/1.19, allocations: 10.19 kB / 1.116 GB, free: 30.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/1.19, allocations: 259.5 kB / 1.116 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.78e-05/1.19, allocations: 28.88 kB / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/1.19, allocations: 0 / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001396/1.19, allocations: 64 kB / 1.116 GB, free: 30.36 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/1.19, allocations: 0 / 1.116 GB, free: 30.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0002464/1.191, allocations: 76.66 kB / 1.116 GB, free: 30.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/1.191, allocations: 55.41 kB / 1.116 GB, free: 30.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.701e-05/1.191, allocations: 91.62 kB / 1.116 GB, free: 30.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/1.191, allocations: 29.58 kB / 1.116 GB, free: 30.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/1.191, allocations: 80.14 kB / 1.116 GB, free: 30.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/1.191, allocations: 11.69 kB / 1.116 GB, free: 30.04 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/1.191, allocations: 3.688 kB / 1.116 GB, free: 30.04 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001457/1.191, allocations: 321.5 kB / 1.117 GB, free: 29.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.197e-05/1.191, allocations: 15.78 kB / 1.117 GB, free: 29.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.006e-05/1.191, allocations: 33.44 kB / 1.117 GB, free: 29.69 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.209e-05/1.191, allocations: 18.33 kB / 1.117 GB, free: 29.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.191, allocations: 0 / 1.117 GB, free: 29.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001479/1.191, allocations: 65.69 kB / 1.117 GB, free: 29.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/1.191, allocations: 6.062 kB / 1.117 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/1.191, allocations: 7.906 kB / 1.117 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/1.191, allocations: 0 / 1.117 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/1.192, allocations: 10.45 kB / 1.117 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/1.192, allocations: 0 / 1.117 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.094e-05/1.192, allocations: 7.75 kB / 1.117 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/1.192, allocations: 11.5 kB / 1.117 GB, free: 29.64 MB / 0.698 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 0.0001012/1.192, allocations: 109.8 kB / 1.117 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/1.192, allocations: 6.828 kB / 1.117 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/1.192, allocations: 7.5 kB / 1.117 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.192, allocations: 4.094 kB / 1.117 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.192, allocations: 3.984 kB / 1.117 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.192, allocations: 0 / 1.117 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/1.192, allocations: 303.7 kB / 1.117 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/1.192, allocations: 0 / 1.117 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/1.192, allocations: 7.844 kB / 1.117 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.718e-06/1.192, allocations: 0 / 1.117 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/1.192, allocations: 0 / 1.117 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/1.192, allocations: 0.875 kB / 1.117 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.192, allocations: 3.844 kB / 1.117 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/1.193, allocations: 166 kB / 1.117 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/1.193, allocations: 88.64 kB / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/1.193, allocations: 384 / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/1.193, allocations: 3.844 kB / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/1.193, allocations: 2.906 kB / 1.118 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/1.193, allocations: 4 kB / 1.118 GB, free: 28.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.854e-05/1.193, allocations: 83.12 kB / 1.118 GB, free: 28.89 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/1.193, allocations: 0 / 1.118 GB, free: 28.89 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004128/1.193, allocations: 41.48 kB / 1.118 GB, free: 28.88 MB / 0.698 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.0009028/1.194, allocations: 0.7724 MB / 1.118 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001351/1.194, allocations: 36.36 kB / 1.118 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.194, allocations: 0 / 1.118 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.284e-05/1.194, allocations: 15.41 kB / 1.119 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/1.195, allocations: 2.625 kB / 1.119 GB, free: 28.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008839/1.195, allocations: 0.8019 MB / 1.119 GB, free: 27.39 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/1.196, allocations: 0.6794 MB / 1.12 GB, free: 26.69 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.525e-05/1.196, allocations: 10.78 kB / 1.12 GB, free: 26.69 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/1.196, allocations: 7.438 kB / 1.12 GB, free: 26.68 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/1.196, allocations: 0 / 1.12 GB, free: 26.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/1.216, allocations: 1.845 MB / 1.122 GB, free: 26.48 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002432/1.217, allocations: 244.4 kB / 1.122 GB, free: 26.21 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.478/3.695, allocations: 3.938 kB / 1.122 GB, free: 26.21 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)