Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.834/1.834, allocations: 292.3 MB / 308.1 MB, free: 4.285 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.001439/0.001439, allocations: 188.4 kB / 376.9 MB, free: 1.816 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.759/1.759, allocations: 205 MB / 0.6353 GB, free: 9.82 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.001092/0.001092, allocations: 102 kB / 0.748 GB, free: 61.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 55.92 kB / 0.8703 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2487, allocations: 114.6 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002678/0.2514, allocations: 1.264 MB / 0.9834 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0008721/0.2523, allocations: 415.5 kB / 0.9838 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.174e-05/0.2524, allocations: 0 / 0.9838 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.2524, allocations: 0 / 0.9838 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.855e-05/0.2525, allocations: 3.984 kB / 0.9838 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.253, allocations: 75.86 kB / 0.9839 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.222e-05/0.253, allocations: 11.94 kB / 0.9839 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.2531, allocations: 3.938 kB / 0.9839 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.301e-05/0.2531, allocations: 11.98 kB / 0.9839 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.971e-05/0.2531, allocations: 11.92 kB / 0.984 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.2531, allocations: 0 / 0.984 GB, free: 8.598 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.2534, allocations: 91.84 kB / 0.984 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.2534, allocations: 7.984 kB / 0.9841 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.2534, allocations: 7.938 kB / 0.9841 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.2536, allocations: 75.89 kB / 0.9841 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2536, allocations: 0 / 0.9841 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2537, allocations: 0 / 0.9841 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.2537, allocations: 0 / 0.9841 GB, free: 8.418 MB / 0.7136 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.0004596/0.2541, allocations: 347.5 kB / 0.9845 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.2542, allocations: 8.031 kB / 0.9845 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/0.2542, allocations: 8.922 kB / 0.9845 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.2543, allocations: 172.6 kB / 0.9846 GB, free: 7.805 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.2544, allocations: 4.375 kB / 0.9847 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.2544, allocations: 4.375 kB / 0.9847 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.616e-05/0.2545, allocations: 38.19 kB / 0.9847 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.2545, allocations: 192 / 0.9847 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.2545, allocations: 3.938 kB / 0.9847 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2545, allocations: 0 / 0.9847 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.515e-05/0.2546, allocations: 7.984 kB / 0.9847 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.2547, allocations: 153.7 kB / 0.9848 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.762e-05/0.2548, allocations: 30.58 kB / 0.9849 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.2549, allocations: 16.94 kB / 0.9849 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.709e-06/0.2549, allocations: 0 / 0.9849 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.255, allocations: 59.33 kB / 0.985 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.255, allocations: 0 / 0.985 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001925/0.2552, allocations: 73.61 kB / 0.985 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.2553, allocations: 51.41 kB / 0.9851 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.122e-05/0.2554, allocations: 101.8 kB / 0.9852 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.2554, allocations: 25.7 kB / 0.9852 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.134e-05/0.2554, allocations: 84.12 kB / 0.9853 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.74e-05/0.2555, allocations: 7.906 kB / 0.9853 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.643e-05/0.2555, allocations: 21.72 kB / 0.9853 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2556, allocations: 310.8 kB / 0.9856 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.265e-05/0.2556, allocations: 16.11 kB / 0.9856 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-05/0.2557, allocations: 31.38 kB / 0.9856 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.992e-05/0.2557, allocations: 51.36 kB / 0.9857 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2557, allocations: 0 / 0.9857 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001039/0.2559, allocations: 65.62 kB / 0.9858 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2559, allocations: 11.94 kB / 0.9858 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2559, allocations: 3.938 kB / 0.9858 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2559, allocations: 0 / 0.9858 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.126e-05/0.256, allocations: 11.98 kB / 0.9858 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.256, allocations: 3.938 kB / 0.9858 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.587e-05/0.256, allocations: 4 kB / 0.9858 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.256, allocations: 0 / 0.9858 GB, free: 6.473 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 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.557e-05/0.2561, allocations: 121.9 kB / 0.9859 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.2561, allocations: 7.844 kB / 0.9859 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.2562, allocations: 7.5 kB / 0.9859 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2562, allocations: 0 / 0.9859 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2562, allocations: 0 / 0.9859 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.2562, allocations: 0 / 0.9859 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.2563, allocations: 157.7 kB / 0.9861 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2563, allocations: 0 / 0.9861 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/0.2563, allocations: 0 / 0.9861 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.2563, allocations: 11.92 kB / 0.9861 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.2564, allocations: 4 kB / 0.9861 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2564, allocations: 0 / 0.9861 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.2564, allocations: 0 / 0.9861 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.2567, allocations: 0.6396 MB / 0.9867 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.2568, allocations: 89.03 kB / 0.9868 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.2568, allocations: 0 / 0.9868 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.915e-05/0.2568, allocations: 0 / 0.9868 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.2569, allocations: 4 kB / 0.9868 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.2569, allocations: 4 kB / 0.9868 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.233e-05/0.2569, allocations: 83.27 kB / 0.9869 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2569, allocations: 0 / 0.9869 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003303/0.2573, allocations: 24 kB / 0.9869 GB, free: 5.191 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003254/0.2576, allocations: 176 kB / 0.9871 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.979e-05/0.2577, allocations: 31.92 kB / 0.9871 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.2577, allocations: 0 / 0.9871 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.384e-05/0.2578, allocations: 19.88 kB / 0.9871 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.2579, allocations: 3.984 kB / 0.9871 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.2582, allocations: 209.6 kB / 0.9873 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.2585, allocations: 0.6811 MB / 0.988 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.2586, allocations: 4 kB / 0.988 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.786e-05/0.2586, allocations: 11.44 kB / 0.988 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.2586, allocations: 0 / 0.988 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of Templates: time 0.003306/0.2619, allocations: 0.9528 MB / 0.9889 GB, free: 3.043 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)