Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.245/2.245, allocations: 251 MB / 265.9 MB, free: 11.69 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.002521/0.00252, allocations: 173.3 kB / 325.5 MB, free: 2.895 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.358/2.358, allocations: 205.4 MB / 0.5764 GB, free: 20.86 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.001171/0.001171, allocations: 93.78 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004772, allocations: 15.09 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2462, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2238/0.4701, allocations: 131.7 MB / 1.027 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.4705, allocations: 75.95 kB / 1.027 GB, free: 13.55 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.008995/0.4795, allocations: 2.078 MB / 1.03 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.504e-06/0.4795, allocations: 0 / 1.03 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.4795, allocations: 0 / 1.03 GB, free: 11.46 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.0005288/0.4801, allocations: 371.2 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.4801, allocations: 8.031 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.445e-05/0.4802, allocations: 30.56 kB / 1.03 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.4802, allocations: 3.953 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.4804, allocations: 167.1 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.4804, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.4804, allocations: 8 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.4806, allocations: 33.69 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.4806, allocations: 0 / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.4806, allocations: 4 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.4806, allocations: 4 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.854e-05/0.4807, allocations: 7.938 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.4811, allocations: 249.7 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.4812, allocations: 34.56 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.4812, allocations: 0 / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.4814, allocations: 67.33 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.613e-06/0.4814, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0002491/0.4817, allocations: 73.67 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.4817, allocations: 59.36 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.354e-05/0.4818, allocations: 92.98 kB / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.4819, allocations: 25.7 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.4819, allocations: 88.27 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.482, allocations: 11.81 kB / 1.031 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.482, allocations: 3.938 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4821, allocations: 314.8 kB / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.368e-05/0.4822, allocations: 11.98 kB / 1.031 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.773e-05/0.4822, allocations: 35.38 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.543e-05/0.4823, allocations: 19.98 kB / 1.031 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4823, allocations: 0 / 1.031 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001469/0.4825, allocations: 65.62 kB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4825, allocations: 4 kB / 1.031 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4825, allocations: 0 / 1.031 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.4825, allocations: 4 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.651e-05/0.4826, allocations: 15.92 kB / 1.031 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.4827, allocations: 0 / 1.031 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.4827, allocations: 7.953 kB / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.4827, allocations: 8.062 kB / 1.031 GB, free: 9.438 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 9.551e-05/0.4828, allocations: 115.7 kB / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.4829, allocations: 3.906 kB / 1.031 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.4829, allocations: 7.562 kB / 1.031 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.4829, allocations: 7.984 kB / 1.031 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.4829, allocations: 0 / 1.031 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4829, allocations: 0 / 1.031 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003411/0.4833, allocations: 306.7 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4833, allocations: 8 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.917e-05/0.4834, allocations: 0 / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4834, allocations: 0 / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.4834, allocations: 7.984 kB / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.4834, allocations: 0 / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4834, allocations: 0 / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001878/0.4836, allocations: 159.5 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.4837, allocations: 77.11 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.4837, allocations: 7.984 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.4838, allocations: 11.94 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.4838, allocations: 0 / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.4838, allocations: 0 / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.147e-05/0.4839, allocations: 83.23 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4839, allocations: 0 / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004182/0.4843, allocations: 39.92 kB / 1.032 GB, free: 8.52 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.0009692/0.4853, allocations: 0.7697 MB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.4855, allocations: 39.92 kB / 1.033 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4855, allocations: 0 / 1.033 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.026e-05/0.4856, allocations: 23.92 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001654/0.4858, allocations: 4.125 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/0.4867, allocations: 0.8052 MB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.4871, allocations: 0.677 MB / 1.034 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.659e-05/0.4871, allocations: 4 kB / 1.034 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.322e-05/0.4872, allocations: 15.42 kB / 1.034 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of SimCode: time 1.583e-06/0.4872, allocations: 0 / 1.034 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.5092, allocations: 1.849 MB / 1.036 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003171/0.5096, allocations: 244.7 kB / 1.036 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/2.907, allocations: 0 / 1.036 GB, free: 4.145 MB / 0.6823 GB