Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.752/1.752, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001353/0.001352, allocations: 188.9 kB / 361.4 MB, free: 6.852 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.578/1.578, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0007771/0.0007772, allocations: 88.94 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.926e-05, allocations: 4 kB / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7623/0.7623, allocations: 115.3 MB / 0.9644 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2381/1, allocations: 137.4 MB / 1.099 GB, free: 2.297 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/1.001, allocations: 71.95 kB / 1.099 GB, free: 2.227 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.005683/1.006, allocations: 2.043 MB / 1.101 GB, free: 228 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.092e-06/1.006, allocations: 0 / 1.101 GB, free: 228 kB / 0.698 GB Notification: Performance of Transformations before backend: time 6.852e-06/1.006, allocations: 0 / 1.101 GB, free: 228 kB / 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.0003601/1.007, allocations: 359.4 kB / 1.101 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/1.007, allocations: 8.875 kB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.145e-05/1.007, allocations: 1.031 kB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/1.007, allocations: 167.7 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/1.007, allocations: 10.97 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/1.007, allocations: 0 / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.844e-05/1.007, allocations: 4 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.244e-05/1.007, allocations: 33.69 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/1.007, allocations: 0 / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/1.007, allocations: 3.938 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/1.007, allocations: 4 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/1.007, allocations: 135.9 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.985e-05/1.007, allocations: 34.16 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.061e-05/1.008, allocations: 8.859 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/1.008, allocations: 0.625 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/1.008, allocations: 52.67 kB / 1.102 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/1.008, allocations: 1.594 kB / 1.102 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001797/1.008, allocations: 61.61 kB / 1.102 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/1.008, allocations: 51.41 kB / 1.102 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.717e-05/1.008, allocations: 90.25 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/1.008, allocations: 29.7 kB / 1.102 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/1.008, allocations: 80.83 kB / 1.102 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/1.008, allocations: 17.14 kB / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/1.008, allocations: 0.8125 kB / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001205/1.008, allocations: 315.5 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/1.008, allocations: 4.875 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.384e-05/1.008, allocations: 31.34 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.986e-05/1.008, allocations: 17.42 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.008, allocations: 0 / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001008/1.008, allocations: 70.83 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.008, allocations: 5.094 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/1.008, allocations: 0.6875 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.008, allocations: 4 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.719e-05/1.009, allocations: 8.531 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/1.009, allocations: 4.75 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.576e-05/1.009, allocations: 1.562 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/1.009, allocations: 11.48 kB / 1.102 GB, free: 14.45 MB / 0.7136 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 () * 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 7.769e-05/1.009, allocations: 101.7 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.702e-05/1.009, allocations: 62.45 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-06/1.009, allocations: 0 / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/1.009, allocations: 9.688 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/1.009, allocations: 4 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.009, allocations: 0 / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.009, allocations: 4.125 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/1.009, allocations: 127.2 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/1.009, allocations: 3.984 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.98e-05/1.009, allocations: 7.938 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/1.009, allocations: 3.281 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/1.009, allocations: 3.375 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/1.009, allocations: 4 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.009, allocations: 0 / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/1.009, allocations: 81.03 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/1.009, allocations: 81.09 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/1.009, allocations: 6.172 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.914e-05/1.009, allocations: 0 / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/1.009, allocations: 4 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/1.009, allocations: 0 / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.638e-05/1.009, allocations: 87.22 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.009, allocations: 4.312 kB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002587/1.01, allocations: 43.86 kB / 1.103 GB, free: 13.74 MB / 0.7136 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 () * 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.0006664/1.01, allocations: 0.6822 MB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.958e-05/1.01, allocations: 27.92 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/1.01, allocations: 4 kB / 1.104 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.737e-05/1.011, allocations: 11.98 kB / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.957e-05/1.011, allocations: 3.953 kB / 1.104 GB, free: 13 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/1.011, allocations: 115.9 kB / 1.104 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/1.011, allocations: 0.6768 MB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.079e-05/1.011, allocations: 12.17 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/1.011, allocations: 11.44 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/1.011, allocations: 4 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/1.032, allocations: 1.515 MB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/1.032, allocations: 213.4 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.566, allocations: 1.406 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_BaseClasses_Validation_ExponentialVariableGeneration.fmu > Buildings_maint.8.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)