Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 109.4 kB / 15.99 MB, free: 6.348 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.001325/0.001325, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.547/1.547, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.3 MB / 0.5492 GB, free: 13.61 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.002116/0.002116, allocations: 67.47 kB / 0.6717 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2644, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002149/0.2666, allocations: 0.7204 MB / 0.7842 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001372/0.2668, allocations: 11.94 kB / 0.7842 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.118e-05/0.2668, allocations: 0 / 0.7842 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.2669, allocations: 0 / 0.7842 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.661e-05/0.267, allocations: 0 / 0.7842 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.182e-05/0.267, allocations: 8 kB / 0.7843 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.332e-05/0.2671, allocations: 31.86 kB / 0.7843 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.2673, allocations: 27.98 kB / 0.7843 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.431e-05/0.2673, allocations: 8 kB / 0.7843 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.864e-05/0.2674, allocations: 27.84 kB / 0.7843 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.2674, allocations: 4 kB / 0.7843 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.2674, allocations: 4 kB / 0.7844 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.339e-05/0.2674, allocations: 8 kB / 0.7844 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.2675, allocations: 23.86 kB / 0.7844 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.418e-05/0.2676, allocations: 31.95 kB / 0.7844 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2676, allocations: 0 / 0.7844 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2676, allocations: 0 / 0.7844 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2676, allocations: 0 / 0.7844 GB, free: 12.98 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003936/0.268, allocations: 359.5 kB / 0.7848 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.268, allocations: 12.03 kB / 0.7848 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.2681, allocations: 4.938 kB / 0.7848 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.2683, allocations: 188.1 kB / 0.785 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.2683, allocations: 4.375 kB / 0.785 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.2683, allocations: 4.375 kB / 0.785 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.2685, allocations: 78.16 kB / 0.785 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2685, allocations: 192 / 0.785 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.2685, allocations: 11.94 kB / 0.785 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2685, allocations: 0 / 0.785 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.356e-05/0.2686, allocations: 43.97 kB / 0.7851 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/0.2691, allocations: 491.1 kB / 0.7856 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.2692, allocations: 173.1 kB / 0.7857 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.2693, allocations: 84.17 kB / 0.7858 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.2693, allocations: 75.28 kB / 0.7859 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/0.2694, allocations: 114 kB / 0.786 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.2694, allocations: 3.938 kB / 0.786 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.228e-05/0.2695, allocations: 33.61 kB / 0.786 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/0.2695, allocations: 126.7 kB / 0.7861 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.2697, allocations: 177.7 kB / 0.7863 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.2697, allocations: 25.7 kB / 0.7863 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.331e-05/0.2698, allocations: 96.12 kB / 0.7864 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.206e-06/0.2698, allocations: 4 kB / 0.7864 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.2698, allocations: 13.72 kB / 0.7864 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.27, allocations: 318.8 kB / 0.7867 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.584e-05/0.27, allocations: 4 kB / 0.7867 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.293e-05/0.27, allocations: 7.984 kB / 0.7868 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.912e-05/0.2701, allocations: 16.86 kB / 0.7868 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2701, allocations: 4 kB / 0.7868 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001293/0.2702, allocations: 57.64 kB / 0.7868 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2702, allocations: 6.5 kB / 0.7868 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2702, allocations: 4 kB / 0.7868 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2703, allocations: 0 / 0.7868 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.87e-05/0.2703, allocations: 3.938 kB / 0.7868 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.2703, allocations: 7.938 kB / 0.7869 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.2704, allocations: 11.84 kB / 0.7869 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.2704, allocations: 0 / 0.7869 GB, free: 10.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 0.0001146/0.2705, allocations: 198.2 kB / 0.7871 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.2706, allocations: 105 kB / 0.7872 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.928e-05/0.2706, allocations: 116.8 kB / 0.7873 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.628e-05/0.2707, allocations: 180.3 kB / 0.7874 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.563e-05/0.2708, allocations: 184.2 kB / 0.7876 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-05/0.2709, allocations: 180.2 kB / 0.7878 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.2711, allocations: 426.2 kB / 0.7882 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.921e-05/0.2712, allocations: 104.9 kB / 0.7883 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.2712, allocations: 104.9 kB / 0.7884 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.405e-05/0.2713, allocations: 180.3 kB / 0.7886 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-05/0.2714, allocations: 180.2 kB / 0.7887 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-05/0.2715, allocations: 176.3 kB / 0.7889 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.385e-05/0.2715, allocations: 192.1 kB / 0.7891 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.2717, allocations: 312 kB / 0.7894 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.2718, allocations: 193.9 kB / 0.7896 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.095e-05/0.2719, allocations: 188.2 kB / 0.7897 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-05/0.272, allocations: 112.9 kB / 0.7899 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.459e-05/0.2721, allocations: 180.2 kB / 0.79 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/0.2721, allocations: 101 kB / 0.7901 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001053/0.2722, allocations: 131.2 kB / 0.7902 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.673e-06/0.2723, allocations: 0 / 0.7902 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002424/0.2725, allocations: 7.938 kB / 0.7903 GB, free: 6.531 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001803/0.2727, allocations: 178.5 kB / 0.7904 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.144e-05/0.2728, allocations: 11.98 kB / 0.7904 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2728, allocations: 0 / 0.7904 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.2728, allocations: 0 / 0.7904 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000549/0.2733, allocations: 462.9 kB / 0.7909 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.2737, allocations: 246 kB / 0.7911 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.274, allocations: 0.6924 MB / 0.7918 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.274, allocations: 11.44 kB / 0.7918 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of SimCode: time 1.943e-06/0.274, allocations: 0 / 0.7918 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of Templates: time 0.002092/0.2761, allocations: 0.7613 MB / 0.7925 GB, free: 4.113 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)