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.414/2.414, allocations: 248.7 MB / 256.2 MB, free: 7.047 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.001509/0.001508, allocations: 184.7 kB / 315.4 MB, free: 3.98 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.671/2.671, allocations: 205.3 MB / 0.5662 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001076, allocations: 98.45 kB / 0.6704 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.865e-05/2.873e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2062/0.2063, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9015/1.108, allocations: 131.9 MB / 1.013 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/1.108, allocations: 68.91 kB / 1.013 GB, free: 6.871 MB / 0.6355 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.008947/1.117, allocations: 2.055 MB / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.774e-06/1.117, allocations: 0 / 1.015 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.532e-06/1.117, allocations: 0 / 1.015 GB, free: 5.121 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.0004868/1.118, allocations: 337.8 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/1.118, allocations: 23.95 kB / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/1.118, allocations: 0 / 1.015 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/1.118, allocations: 163 kB / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/1.118, allocations: 0 / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/1.118, allocations: 7.938 kB / 1.015 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.846e-05/1.118, allocations: 7.562 kB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.634e-05/1.118, allocations: 33.69 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/1.118, allocations: 0 / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/1.118, allocations: 0 / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/1.118, allocations: 0 / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/1.119, allocations: 141.8 kB / 1.016 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.838e-05/1.119, allocations: 25.23 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/1.119, allocations: 12.36 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/1.119, allocations: 4 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/1.119, allocations: 50.59 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.854e-06/1.119, allocations: 8 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002327/1.119, allocations: 55.72 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/1.119, allocations: 51.41 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.041e-05/1.119, allocations: 92.98 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/1.119, allocations: 29.52 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/1.119, allocations: 80.14 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/1.119, allocations: 11.84 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/1.119, allocations: 0 / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.12, allocations: 318 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/1.12, allocations: 4 kB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.119e-05/1.12, allocations: 41.97 kB / 1.016 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.865e-05/1.12, allocations: 11.08 kB / 1.016 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.12, allocations: 1.031 kB / 1.016 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001337/1.12, allocations: 60.94 kB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/1.12, allocations: 8 kB / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.12, allocations: 0 / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/1.12, allocations: 0 / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/1.12, allocations: 11.98 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/1.12, allocations: 0 / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.859e-05/1.12, allocations: 7.938 kB / 1.016 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/1.12, allocations: 0 / 1.016 GB, free: 3.383 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 0.0001032/1.12, allocations: 116.9 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001479/1.12, allocations: 64.83 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/1.12, allocations: 4.078 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/1.12, allocations: 11.73 kB / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.12, allocations: 0 / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.12, allocations: 0 / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.121, allocations: 0 / 1.017 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/1.121, allocations: 134.2 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.121, allocations: 0 / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.446e-05/1.121, allocations: 5.688 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.121, allocations: 0 / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/1.121, allocations: 4 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.121, allocations: 0 / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.121, allocations: 0 / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/1.121, allocations: 87.88 kB / 1.017 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.318e-05/1.121, allocations: 88.14 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/1.121, allocations: 0 / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.864e-05/1.121, allocations: 0 / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/1.121, allocations: 3.984 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/1.121, allocations: 8 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.179e-05/1.121, allocations: 75.28 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/1.121, allocations: 0 / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000391/1.122, allocations: 43.06 kB / 1.017 GB, free: 2.68 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.0009599/1.123, allocations: 0.6981 MB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001222/1.123, allocations: 23.05 kB / 1.018 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.123, allocations: 0 / 1.018 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/1.123, allocations: 15.5 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/1.123, allocations: 11.38 kB / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004561/1.123, allocations: 124.6 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/1.124, allocations: 0.6807 MB / 1.019 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.949e-05/1.124, allocations: 0 / 1.019 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/1.124, allocations: 11.44 kB / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of SimCode: time 8.41e-07/1.124, allocations: 0 / 1.019 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03781/1.162, allocations: 1.524 MB / 1.02 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003353/1.162, allocations: 194.2 kB / 1.02 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.307/3.469, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.6511 GB