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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001122, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 190.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 292.2 MB / 0.5484 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.03 kB / 0.6708 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2223, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002384/0.2248, allocations: 1.278 MB / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007969/0.2256, allocations: 408.7 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.729e-05/0.2256, allocations: 3.938 kB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.2257, allocations: 0 / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.29e-05/0.2257, allocations: 0 / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004474/0.2262, allocations: 75.8 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.321e-05/0.2262, allocations: 15.97 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.2263, allocations: 4 kB / 0.7844 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.217e-05/0.2263, allocations: 8 kB / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.622e-05/0.2263, allocations: 11.92 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.2263, allocations: 4 kB / 0.7844 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.2265, allocations: 87.84 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.2266, allocations: 4 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.2266, allocations: 0 / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.2268, allocations: 87.81 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2268, allocations: 0 / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2268, allocations: 0 / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2268, allocations: 0 / 0.7846 GB, free: 12.03 MB / 0.6075 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.0005448/0.2274, allocations: 343.6 kB / 0.7849 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.2274, allocations: 15.97 kB / 0.7849 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.2275, allocations: 4.844 kB / 0.7849 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.2276, allocations: 168.6 kB / 0.7851 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.2276, allocations: 4.375 kB / 0.7851 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.2277, allocations: 384 / 0.7851 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.2278, allocations: 38.25 kB / 0.7851 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.2278, allocations: 4.125 kB / 0.7851 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.2278, allocations: 15.88 kB / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.2278, allocations: 0 / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.625e-05/0.2279, allocations: 4 kB / 0.7851 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.228, allocations: 149.7 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.454e-05/0.2281, allocations: 34.55 kB / 0.7853 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.276e-05/0.2281, allocations: 8.859 kB / 0.7853 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.994e-06/0.2281, allocations: 0 / 0.7853 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.2283, allocations: 59.48 kB / 0.7854 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2283, allocations: 4 kB / 0.7854 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001824/0.2285, allocations: 77.55 kB / 0.7855 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.2285, allocations: 51.41 kB / 0.7855 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.665e-05/0.2286, allocations: 93.86 kB / 0.7856 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.2286, allocations: 25.7 kB / 0.7856 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.2287, allocations: 84.14 kB / 0.7857 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.2287, allocations: 11.94 kB / 0.7857 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.2288, allocations: 25.7 kB / 0.7857 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.2289, allocations: 314.8 kB / 0.786 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.2289, allocations: 4 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.738e-05/0.229, allocations: 39.41 kB / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.731e-05/0.229, allocations: 51.55 kB / 0.7861 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.229, allocations: 0 / 0.7861 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.618e-05/0.2291, allocations: 69.61 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.2292, allocations: 8.875 kB / 0.7862 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.403e-06/0.2292, allocations: 11.94 kB / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.2292, allocations: 0 / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.2293, allocations: 8 kB / 0.7862 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.2293, allocations: 4.094 kB / 0.7862 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.516e-05/0.2293, allocations: 0 / 0.7862 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.2293, allocations: 4 kB / 0.7862 GB, free: 10.08 MB / 0.6075 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 8.769e-05/0.2294, allocations: 118.5 kB / 0.7864 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.2294, allocations: 3.938 kB / 0.7864 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.2295, allocations: 3.5 kB / 0.7864 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.2295, allocations: 0 / 0.7864 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2295, allocations: 0 / 0.7864 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.2295, allocations: 4 kB / 0.7864 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.2296, allocations: 161.6 kB / 0.7865 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2296, allocations: 4 kB / 0.7865 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.489e-05/0.2296, allocations: 3.938 kB / 0.7865 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2297, allocations: 3.938 kB / 0.7865 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.2297, allocations: 0 / 0.7865 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2297, allocations: 4 kB / 0.7865 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2297, allocations: 3.938 kB / 0.7865 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001198/0.2298, allocations: 85.02 kB / 0.7866 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.742e-05/0.2299, allocations: 85.05 kB / 0.7867 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.2299, allocations: 7.922 kB / 0.7867 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.009e-05/0.2299, allocations: 4 kB / 0.7867 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.148e-05/0.2299, allocations: 0 / 0.7867 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.2299, allocations: 4 kB / 0.7867 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.231e-05/0.23, allocations: 79.28 kB / 0.7868 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.23, allocations: 0 / 0.7868 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002392/0.2302, allocations: 27.98 kB / 0.7868 GB, free: 9.383 MB / 0.6075 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.0003249/0.2306, allocations: 173.3 kB / 0.787 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.202e-05/0.2307, allocations: 23.98 kB / 0.787 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2307, allocations: 0 / 0.787 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.059e-05/0.2307, allocations: 15.94 kB / 0.787 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.2308, allocations: 4 kB / 0.787 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002087/0.2311, allocations: 110.9 kB / 0.7871 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.2313, allocations: 0.677 MB / 0.7878 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.308e-05/0.2313, allocations: 4.25 kB / 0.7878 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.411e-05/0.2313, allocations: 7.438 kB / 0.7878 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2313, allocations: 0 / 0.7878 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of Templates: time 0.003174/0.2345, allocations: 0.9528 MB / 0.7887 GB, free: 7.375 MB / 0.6075 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)