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.397/1.397, allocations: 249.5 MB / 257 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009742/0.0009741, allocations: 180.8 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.3 MB / 0.5671 GB, free: 15.81 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.0008086/0.0008086, allocations: 81.75 kB / 0.6714 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.771e-05/1.775e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1959, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6918/0.8877, allocations: 132.1 MB / 1.014 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.888, allocations: 78.62 kB / 1.014 GB, free: 5.293 MB / 0.6355 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.005483/0.8935, allocations: 2.039 MB / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8935, allocations: 0 / 1.016 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.8936, allocations: 0 / 1.016 GB, free: 3.555 MB / 0.6355 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.0003759/0.8939, allocations: 347.5 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.894, allocations: 12.03 kB / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.894, allocations: 0 / 1.017 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.8942, allocations: 167 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.8942, allocations: 4 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.8942, allocations: 7.125 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.048e-05/0.8943, allocations: 4 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.838e-05/0.8943, allocations: 39.73 kB / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.8943, allocations: 0 / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.8944, allocations: 3.984 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.8944, allocations: 3.938 kB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001384/0.8945, allocations: 133.8 kB / 1.017 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.913e-05/0.8946, allocations: 37.61 kB / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.8946, allocations: 4.859 kB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.8946, allocations: 4 kB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.8948, allocations: 50.88 kB / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.8948, allocations: 0 / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001873/0.895, allocations: 60.59 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.895, allocations: 59.39 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.237e-05/0.8951, allocations: 91.44 kB / 1.017 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.8951, allocations: 25.7 kB / 1.017 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.8951, allocations: 80.14 kB / 1.017 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.8952, allocations: 14.84 kB / 1.017 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.8952, allocations: 3.938 kB / 1.017 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.8953, allocations: 314.8 kB / 1.018 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.8953, allocations: 7.125 kB / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.147e-05/0.8953, allocations: 35 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.364e-05/0.8954, allocations: 4 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8954, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.512e-05/0.8955, allocations: 64.94 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.8955, allocations: 8 kB / 1.018 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.8955, allocations: 4.094 kB / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.8955, allocations: 0 / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/0.8956, allocations: 11.94 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.8956, allocations: 0 / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.856e-05/0.8956, allocations: 11.09 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.8957, allocations: 0 / 1.018 GB, free: 1.809 MB / 0.6355 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.739e-05/0.8957, allocations: 105 kB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.862e-05/0.8958, allocations: 67.44 kB / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-06/0.8959, allocations: 0 / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.8959, allocations: 12.06 kB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.8959, allocations: 0 / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.8959, allocations: 0.6875 kB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.8959, allocations: 0 / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.896, allocations: 141.6 kB / 1.018 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.8961, allocations: 0 / 1.018 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.8961, allocations: 4.562 kB / 1.018 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.8961, allocations: 0 / 1.018 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.8961, allocations: 0 / 1.018 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.8961, allocations: 0 / 1.018 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.8961, allocations: 7.984 kB / 1.018 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.8962, allocations: 84.25 kB / 1.018 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.8963, allocations: 88.97 kB / 1.018 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.8963, allocations: 0 / 1.018 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.105e-05/0.8963, allocations: 3.984 kB / 1.018 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.8964, allocations: 0 / 1.018 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.8964, allocations: 4 kB / 1.018 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.365e-05/0.8964, allocations: 78.78 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8964, allocations: 8.031 kB / 1.019 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000322/0.8967, allocations: 43.86 kB / 1.019 GB, free: 1.098 MB / 0.6355 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.0006719/0.8974, allocations: 0.6847 MB / 1.019 GB, free: 416 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.689e-05/0.8975, allocations: 26.31 kB / 1.019 GB, free: 396 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8975, allocations: 0 / 1.019 GB, free: 396 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.296e-05/0.8976, allocations: 8 kB / 1.019 GB, free: 388 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.8977, allocations: 0 / 1.019 GB, free: 388 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003278/0.898, allocations: 124.1 kB / 1.019 GB, free: 232 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.8983, allocations: 0.6768 MB / 1.02 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.254e-05/0.8983, allocations: 8.188 kB / 1.02 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.8983, allocations: 7.438 kB / 1.02 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.8983, allocations: 3.938 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.9164, allocations: 1.528 MB / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/0.9166, allocations: 209.1 kB / 1.022 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.424/2.341, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.6511 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)