Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.081/3.081, allocations: 287.3 MB / 302.3 MB, free: 8.238 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.002482/0.002482, allocations: 176.3 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 107 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007215/0.0007215, allocations: 11.39 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2686, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.001355/0.27, allocations: 0.9375 MB / 0.9791 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009026/0.271, allocations: 394.4 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.2711, allocations: 0 / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.2711, allocations: 0 / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.755e-05/0.2711, allocations: 0 / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005509/0.2717, allocations: 79.72 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.975e-05/0.2718, allocations: 15.97 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.361e-05/0.2718, allocations: 7.938 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.192e-05/0.2719, allocations: 4 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.524e-05/0.2719, allocations: 15.92 kB / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.2719, allocations: 0 / 0.9796 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.2722, allocations: 71.92 kB / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.2722, allocations: 4 kB / 0.9797 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.2722, allocations: 33.64 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.2724, allocations: 59.89 kB / 0.9798 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2724, allocations: 4 kB / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2724, allocations: 0 / 0.9798 GB, free: 26.76 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.2724, allocations: 0 / 0.9798 GB, free: 26.76 MB / 0.6198 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.0004258/0.2729, allocations: 385.2 kB / 0.9801 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.2729, allocations: 12.02 kB / 0.9801 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.801e-05/0.273, allocations: 4 kB / 0.9801 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.408e-05/0.2731, allocations: 163 kB / 0.9803 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.2731, allocations: 4 kB / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.805e-05/0.2732, allocations: 4 kB / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.2733, allocations: 37.67 kB / 0.9803 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2733, allocations: 0 / 0.9803 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.2733, allocations: 4 kB / 0.9803 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2733, allocations: 0 / 0.9803 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.1e-05/0.2734, allocations: 7.938 kB / 0.9803 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.2735, allocations: 157.6 kB / 0.9805 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.752e-05/0.2736, allocations: 30.61 kB / 0.9805 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.2737, allocations: 0 / 0.9805 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.2738, allocations: 55.5 kB / 0.9806 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 3.006e-06/0.2739, allocations: 0 / 0.9806 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002489/0.2741, allocations: 73.52 kB / 0.9807 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.2742, allocations: 59.34 kB / 0.9807 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.766e-05/0.2742, allocations: 101.8 kB / 0.9808 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.2743, allocations: 25.7 kB / 0.9808 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.728e-05/0.2743, allocations: 84.14 kB / 0.9809 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.2743, allocations: 7.906 kB / 0.9809 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/0.2743, allocations: 4 kB / 0.9809 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.082e-05/0.2744, allocations: 318.8 kB / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.2744, allocations: 4 kB / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.206e-05/0.2745, allocations: 35.42 kB / 0.9813 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.905e-05/0.2745, allocations: 19.89 kB / 0.9813 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2746, allocations: 0 / 0.9813 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001217/0.2747, allocations: 70 kB / 0.9813 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.2747, allocations: 4 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2747, allocations: 7.938 kB / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.2748, allocations: 8.031 kB / 0.9814 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.738e-05/0.2749, allocations: 7.984 kB / 0.9814 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2749, allocations: 3.938 kB / 0.9814 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.764e-05/0.2749, allocations: 11.84 kB / 0.9814 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.275, allocations: 4 kB / 0.9814 GB, free: 24.85 MB / 0.6198 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.409e-05/0.275, allocations: 120 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.2751, allocations: 4 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.2751, allocations: 3.5 kB / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2751, allocations: 0 / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2751, allocations: 0 / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2751, allocations: 3.984 kB / 0.9815 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.2753, allocations: 153.7 kB / 0.9817 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2753, allocations: 3.953 kB / 0.9817 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.747e-05/0.2753, allocations: 4 kB / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.2753, allocations: 0 / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.2753, allocations: 4 kB / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2753, allocations: 0 / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2753, allocations: 0 / 0.9817 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.2755, allocations: 89.05 kB / 0.9818 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.2756, allocations: 84.97 kB / 0.9818 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.2756, allocations: 0 / 0.9818 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.343e-05/0.2756, allocations: 4 kB / 0.9818 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.2757, allocations: 7.984 kB / 0.9819 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.2757, allocations: 4 kB / 0.9819 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.979e-05/0.2757, allocations: 79.28 kB / 0.9819 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2758, allocations: 0 / 0.9819 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003525/0.2761, allocations: 35.98 kB / 0.982 GB, free: 24.16 MB / 0.6198 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 (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.0004308/0.2766, allocations: 162.6 kB / 0.9821 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001553/0.2767, allocations: 35.92 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2767, allocations: 0 / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.218e-05/0.2768, allocations: 12 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.2769, allocations: 0 / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.2773, allocations: 116.6 kB / 0.9823 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.2774, allocations: 0.685 MB / 0.983 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.834e-05/0.2775, allocations: 8 kB / 0.983 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.2775, allocations: 7.438 kB / 0.983 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of SimCode: time 8.72e-07/0.2775, allocations: 0 / 0.983 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.004326/0.2818, allocations: 1.011 MB / 0.984 GB, free: 22.09 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1)