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/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.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.774/1.774, allocations: 292.3 MB / 308.1 MB, free: 4.289 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.001482/0.001482, allocations: 184.5 kB / 376.9 MB, free: 1.824 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.941/1.941, allocations: 205.1 MB / 0.6354 GB, free: 9.781 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.001315/0.001315, allocations: 105.3 kB / 0.748 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 59.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2736, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.002193/0.2759, allocations: 0.7227 MB / 0.9829 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001516/0.276, allocations: 11.92 kB / 0.9829 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.2761, allocations: 0 / 0.9829 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.2762, allocations: 11.88 kB / 0.983 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.551e-05/0.2763, allocations: 0 / 0.983 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 8.459e-05/0.2764, allocations: 0 / 0.983 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.164e-05/0.2765, allocations: 23.98 kB / 0.983 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.2766, allocations: 31.97 kB / 0.983 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.437e-05/0.2767, allocations: 11.94 kB / 0.983 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.694e-05/0.2767, allocations: 19.92 kB / 0.983 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.2767, allocations: 4 kB / 0.983 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.2768, allocations: 0 / 0.983 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.526e-05/0.2768, allocations: 11.94 kB / 0.9831 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.2768, allocations: 15.88 kB / 0.9831 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.306e-05/0.2769, allocations: 51.8 kB / 0.9831 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.277, allocations: 0 / 0.9831 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.02e-07/0.277, allocations: 0 / 0.9831 GB, free: 9.469 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.277, allocations: 0 / 0.9831 GB, free: 9.469 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000431/0.2774, allocations: 355.6 kB / 0.9835 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.2775, allocations: 12.03 kB / 0.9835 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.715e-05/0.2775, allocations: 4.938 kB / 0.9835 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.2777, allocations: 180.2 kB / 0.9837 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.2777, allocations: 8.375 kB / 0.9837 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.2777, allocations: 384 / 0.9837 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.2779, allocations: 78.22 kB / 0.9837 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2779, allocations: 192 / 0.9837 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2779, allocations: 7.938 kB / 0.9837 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.278, allocations: 0 / 0.9837 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.378e-05/0.278, allocations: 51.91 kB / 0.9838 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.2785, allocations: 487.1 kB / 0.9843 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.683e-05/0.2786, allocations: 165.1 kB / 0.9844 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.994e-05/0.2787, allocations: 84.17 kB / 0.9845 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.2787, allocations: 75.28 kB / 0.9846 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.2788, allocations: 113.8 kB / 0.9847 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.2788, allocations: 0 / 0.9847 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.844e-05/0.2788, allocations: 37.66 kB / 0.9847 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.2789, allocations: 134.6 kB / 0.9848 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.2791, allocations: 172.5 kB / 0.985 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.2791, allocations: 29.64 kB / 0.985 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.544e-05/0.2792, allocations: 96.12 kB / 0.9851 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-06/0.2792, allocations: 4 kB / 0.9851 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.2792, allocations: 17.62 kB / 0.9851 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2794, allocations: 322.8 kB / 0.9855 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.2794, allocations: 4 kB / 0.9855 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.257e-05/0.2794, allocations: 7.984 kB / 0.9855 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.589e-05/0.2794, allocations: 12.86 kB / 0.9855 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2794, allocations: 0 / 0.9855 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000114/0.2796, allocations: 65.67 kB / 0.9855 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2796, allocations: 4 kB / 0.9855 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.2796, allocations: 0 / 0.9855 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.2796, allocations: 0 / 0.9855 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.111e-05/0.2797, allocations: 4 kB / 0.9855 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2797, allocations: 3.938 kB / 0.9855 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.727e-05/0.2797, allocations: 11.84 kB / 0.9856 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.2797, allocations: 0 / 0.9856 GB, free: 6.742 MB / 0.7136 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.0001361/0.2799, allocations: 201.1 kB / 0.9858 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.2799, allocations: 109 kB / 0.9859 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.075e-05/0.28, allocations: 112.8 kB / 0.986 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.356e-05/0.2801, allocations: 180.3 kB / 0.9861 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.159e-05/0.2801, allocations: 188.1 kB / 0.9863 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.485e-05/0.2802, allocations: 176.3 kB / 0.9865 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.2805, allocations: 425.2 kB / 0.9869 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-05/0.2805, allocations: 108.9 kB / 0.987 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.2806, allocations: 101 kB / 0.9871 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.155e-05/0.2807, allocations: 180.2 kB / 0.9873 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.155e-05/0.2807, allocations: 176.3 kB / 0.9874 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.848e-05/0.2808, allocations: 180.3 kB / 0.9876 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.656e-05/0.2809, allocations: 192.1 kB / 0.9878 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.2813, allocations: 0.8572 MB / 0.9886 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.2814, allocations: 197.9 kB / 0.9888 GB, free: 3.176 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.889e-05/0.2815, allocations: 184.3 kB / 0.989 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.265e-05/0.2816, allocations: 105 kB / 0.9891 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.882e-05/0.2817, allocations: 188.1 kB / 0.9893 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/0.2818, allocations: 101 kB / 0.9894 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001053/0.2819, allocations: 135.2 kB / 0.9895 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2819, allocations: 0 / 0.9895 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003274/0.2822, allocations: 4 kB / 0.9895 GB, free: 2.445 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: 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.0001603/0.2824, allocations: 178.5 kB / 0.9897 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.26e-05/0.2825, allocations: 11.92 kB / 0.9897 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2825, allocations: 0 / 0.9897 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.2825, allocations: 3.938 kB / 0.9897 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004716/0.283, allocations: 0.5302 MB / 0.9902 GB, free: 1.711 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002892/0.2833, allocations: 222 kB / 0.9904 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.2836, allocations: 0.6926 MB / 0.9911 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.925e-05/0.2836, allocations: 4 kB / 0.9911 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.2836, allocations: 11.44 kB / 0.9911 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.2836, allocations: 0 / 0.9911 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of Templates: time 0.002189/0.2858, allocations: 478.7 kB / 0.9916 GB, free: 272 kB / 0.7136 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)