Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 251.9 MB / 266.8 MB, free: 11.03 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.001164/0.001164, allocations: 183.7 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.092/2.092, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.00118/0.00118, allocations: 85.44 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003179, allocations: 8.906 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2261, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.3889, allocations: 131.9 MB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.3892, allocations: 75.95 kB / 1.029 GB, free: 11.72 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.005361/0.3945, allocations: 2.065 MB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3946, allocations: 0 / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.3946, allocations: 4 kB / 1.031 GB, free: 9.645 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.0003199/0.3949, allocations: 355.2 kB / 1.031 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.395, allocations: 12.03 kB / 1.031 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.425e-05/0.395, allocations: 34.56 kB / 1.031 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.155e-05/0.395, allocations: 3.938 kB / 1.031 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.612e-05/0.3951, allocations: 167 kB / 1.032 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.3952, allocations: 4 kB / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.3952, allocations: 7.984 kB / 1.032 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.21e-05/0.3953, allocations: 37.69 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.3953, allocations: 0 / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.3953, allocations: 0 / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3953, allocations: 0 / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.526e-05/0.3953, allocations: 12 kB / 1.032 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.3956, allocations: 257.4 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.154e-05/0.3957, allocations: 34.56 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-06/0.3957, allocations: 0 / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.928e-05/0.3958, allocations: 59.48 kB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3958, allocations: 0 / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0001722/0.396, allocations: 73.62 kB / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.3961, allocations: 51.41 kB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.81e-05/0.3961, allocations: 96.98 kB / 1.032 GB, free: 8.266 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.3962, allocations: 25.7 kB / 1.032 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.3962, allocations: 84.08 kB / 1.032 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.3962, allocations: 19.94 kB / 1.032 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.3962, allocations: 0 / 1.032 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.31e-05/0.3963, allocations: 318.8 kB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.3963, allocations: 7.984 kB / 1.033 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.343e-05/0.3964, allocations: 31.44 kB / 1.033 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.734e-05/0.3964, allocations: 23.91 kB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3964, allocations: 4 kB / 1.033 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.352e-05/0.3965, allocations: 65.62 kB / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3966, allocations: 10.19 kB / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3966, allocations: 0 / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.3966, allocations: 256 / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.075e-05/0.3966, allocations: 11.98 kB / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.3967, allocations: 8.156 kB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.442e-05/0.3967, allocations: 4 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3967, allocations: 4 kB / 1.033 GB, free: 7.625 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.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 7.383e-05/0.3968, allocations: 131.6 kB / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.3968, allocations: 3.906 kB / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.053e-05/0.3968, allocations: 7.562 kB / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3968, allocations: 0 / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3968, allocations: 0 / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3968, allocations: 3.984 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.3971, allocations: 294.6 kB / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3971, allocations: 0 / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.3971, allocations: 7.938 kB / 1.033 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3971, allocations: 4 kB / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.3971, allocations: 0 / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.3971, allocations: 7.969 kB / 1.033 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3971, allocations: 4 kB / 1.033 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.3973, allocations: 155.5 kB / 1.033 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.3973, allocations: 81.11 kB / 1.033 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.3973, allocations: 4 kB / 1.033 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.391e-05/0.3974, allocations: 3.984 kB / 1.033 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.3974, allocations: 8 kB / 1.033 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.3974, allocations: 0 / 1.033 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.3975, allocations: 75.28 kB / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3975, allocations: 3.938 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002757/0.3977, allocations: 43.98 kB / 1.034 GB, free: 6.703 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,$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.0006169/0.3984, allocations: 0.79 MB / 1.034 GB, free: 5.906 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.786e-05/0.3985, allocations: 31.92 kB / 1.034 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.3985, allocations: 0 / 1.034 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.841e-05/0.3985, allocations: 12 kB / 1.034 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001222/0.3986, allocations: 7.938 kB / 1.034 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.3992, allocations: 0.8093 MB / 1.035 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.3995, allocations: 0.677 MB / 1.036 GB, free: 4.281 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.222e-05/0.3995, allocations: 4 kB / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.265e-05/0.3995, allocations: 11.42 kB / 1.036 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.3995, allocations: 0 / 1.036 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01111/0.4106, allocations: 1.841 MB / 1.038 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/0.4109, allocations: 250.6 kB / 1.038 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.505/1.916, allocations: 0 / 1.038 GB, free: 2.27 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)