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.452/1.452, allocations: 249.3 MB / 261.8 MB, free: 5.871 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.001138/0.001138, allocations: 172.9 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0008645/0.0008646, allocations: 90.47 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.216e-05/4.25e-05, allocations: 3.984 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2438, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7729/1.017, allocations: 131.8 MB / 1.021 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/1.017, allocations: 71.66 kB / 1.021 GB, free: 2.855 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.005662/1.023, allocations: 2.057 MB / 1.023 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/1.023, allocations: 0 / 1.023 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.084e-06/1.023, allocations: 0.625 kB / 1.023 GB, free: 1.078 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.0003796/1.023, allocations: 348.6 kB / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/1.023, allocations: 12.03 kB / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.454e-05/1.023, allocations: 34.38 kB / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/1.023, allocations: 0 / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/1.023, allocations: 167 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/1.023, allocations: 3.938 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/1.023, allocations: 4 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.55e-05/1.024, allocations: 40.81 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/1.024, allocations: 3.984 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/1.024, allocations: 7.984 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.381e-06/1.024, allocations: 4 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.795e-05/1.024, allocations: 4 kB / 1.023 GB, free: 384 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/1.024, allocations: 252.5 kB / 1.024 GB, free: 88 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.202e-05/1.024, allocations: 30.08 kB / 1.024 GB, free: 52 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/1.024, allocations: 25.11 kB / 1.024 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/1.024, allocations: 0 / 1.024 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/1.024, allocations: 59.17 kB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/1.024, allocations: 0 / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5): time 0.00016/1.024, allocations: 60.94 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/1.024, allocations: 55.41 kB / 1.024 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.569e-05/1.025, allocations: 96.89 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/1.025, allocations: 29.7 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.967e-05/1.025, allocations: 84.12 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.81e-05/1.025, allocations: 18.73 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/1.025, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/1.025, allocations: 317.9 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/1.025, allocations: 7 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.945e-05/1.025, allocations: 43.3 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/1.025, allocations: 11.98 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/1.025, allocations: 0 / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.578e-05/1.025, allocations: 68.38 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/1.025, allocations: 9.078 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/1.025, allocations: 0 / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/1.025, allocations: 4 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.024e-05/1.025, allocations: 19.88 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/1.025, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.523e-05/1.025, allocations: 0 / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/1.025, allocations: 7.953 kB / 1.024 GB, free: 15.12 MB / 0.6511 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 6.97e-05/1.025, allocations: 108.7 kB / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-06/1.025, allocations: 3.906 kB / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/1.025, allocations: 7.547 kB / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/1.025, allocations: 3.938 kB / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/1.025, allocations: 0 / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/1.025, allocations: 8 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/1.026, allocations: 297.2 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.026, allocations: 0 / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.945e-05/1.026, allocations: 4 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/1.026, allocations: 3.984 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/1.026, allocations: 7.75 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.026, allocations: 0 / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/1.026, allocations: 96 / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/1.026, allocations: 166.9 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/1.026, allocations: 81.09 kB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/1.026, allocations: 3.438 kB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.752e-05/1.026, allocations: 4 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/1.026, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/1.026, allocations: 192 / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.641e-05/1.026, allocations: 79.28 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/1.026, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002636/1.026, allocations: 47.91 kB / 1.025 GB, free: 14.24 MB / 0.6511 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.000633/1.027, allocations: 0.7763 MB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.74e-05/1.027, allocations: 30.75 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/1.027, allocations: 3.938 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.273e-05/1.027, allocations: 14.88 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001164/1.027, allocations: 1.875 kB / 1.026 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/1.028, allocations: 125.2 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/1.028, allocations: 0.6809 MB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.288e-05/1.028, allocations: 3.984 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/1.028, allocations: 19.12 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of SimCode: time 3.9e-07/1.028, allocations: 0 / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01176/1.04, allocations: 1.881 MB / 1.029 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/1.04, allocations: 219.5 kB / 1.029 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.617/2.656, allocations: 0 / 1.029 GB, free: 10.6 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)