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.001079/0.001079, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001377/0.001377, allocations: 194.1 kB / 16.14 MB, free: 6.699 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.66/1.66, allocations: 205.1 MB / 222 MB, free: 4.742 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.716/1.716, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001315/0.001315, allocations: 71.2 kB / 0.6708 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2499, allocations: 114.5 MB / 0.7827 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.001872/0.2518, allocations: 0.7242 MB / 0.7834 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001122/0.2519, allocations: 8 kB / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.252, allocations: 0 / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.009e-05/0.2521, allocations: 3.938 kB / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.977e-05/0.2521, allocations: 0 / 0.7834 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.99e-05/0.2522, allocations: 4 kB / 0.7834 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.836e-05/0.2523, allocations: 27.92 kB / 0.7834 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2524, allocations: 35.91 kB / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.157e-05/0.2524, allocations: 8 kB / 0.7835 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.892e-05/0.2525, allocations: 23.86 kB / 0.7835 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.2525, allocations: 4 kB / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.115e-05/0.2525, allocations: 0 / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.2525, allocations: 4 kB / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.2526, allocations: 27.86 kB / 0.7835 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.067e-05/0.2526, allocations: 39.81 kB / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2527, allocations: 0 / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.31e-07/0.2527, allocations: 0 / 0.7836 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.2527, allocations: 4 kB / 0.7836 GB, free: 13.09 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.0003528/0.253, allocations: 351.6 kB / 0.7839 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2531, allocations: 16.03 kB / 0.7839 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.2531, allocations: 0.9375 kB / 0.7839 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.2533, allocations: 184.2 kB / 0.7841 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.2533, allocations: 4.375 kB / 0.7841 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.503e-05/0.2533, allocations: 12.31 kB / 0.7841 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.2534, allocations: 74.22 kB / 0.7842 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.2535, allocations: 4.125 kB / 0.7842 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.2535, allocations: 3.938 kB / 0.7842 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.2535, allocations: 4 kB / 0.7842 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.985e-05/0.2536, allocations: 47.97 kB / 0.7842 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.2541, allocations: 491 kB / 0.7847 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.291e-05/0.2541, allocations: 165.1 kB / 0.7849 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.73e-05/0.2542, allocations: 80.14 kB / 0.7849 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.999e-05/0.2543, allocations: 75.28 kB / 0.785 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.2543, allocations: 121.8 kB / 0.7851 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.2543, allocations: 0 / 0.7851 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 0.0001222/0.2544, allocations: 33.61 kB / 0.7852 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.2545, allocations: 126.7 kB / 0.7853 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.2547, allocations: 176.7 kB / 0.7855 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.2547, allocations: 25.7 kB / 0.7855 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.2548, allocations: 92.14 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.2548, allocations: 4 kB / 0.7856 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.2548, allocations: 17.72 kB / 0.7856 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2549, allocations: 318.8 kB / 0.7859 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.255, allocations: 8 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.335e-05/0.255, allocations: 7.984 kB / 0.7859 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.604e-05/0.255, allocations: 20.78 kB / 0.7859 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.255, allocations: 4 kB / 0.7859 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001138/0.2551, allocations: 57.66 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2552, allocations: 4 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.2552, allocations: 0 / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.2552, allocations: 0 / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.056e-05/0.2552, allocations: 4 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.2553, allocations: 3.938 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.2553, allocations: 11.95 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.2553, allocations: 3.938 kB / 0.786 GB, free: 10.36 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 9.667e-05/0.2554, allocations: 197.1 kB / 0.7862 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.178e-05/0.2555, allocations: 112.9 kB / 0.7863 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.2555, allocations: 112.8 kB / 0.7864 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001065/0.2556, allocations: 180.2 kB / 0.7866 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.768e-05/0.2557, allocations: 180.2 kB / 0.7868 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.971e-05/0.2558, allocations: 176.3 kB / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.256, allocations: 430.2 kB / 0.7873 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.883e-05/0.2561, allocations: 105 kB / 0.7874 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.576e-05/0.2561, allocations: 104.9 kB / 0.7875 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001115/0.2562, allocations: 180.3 kB / 0.7877 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.2563, allocations: 176.3 kB / 0.7879 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.88e-05/0.2564, allocations: 188.2 kB / 0.7881 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.559e-05/0.2564, allocations: 184.2 kB / 0.7882 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/0.2567, allocations: 311.9 kB / 0.7885 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.2568, allocations: 190 kB / 0.7887 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/0.2568, allocations: 188.2 kB / 0.7889 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-05/0.2569, allocations: 112.9 kB / 0.789 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.694e-05/0.257, allocations: 188.1 kB / 0.7892 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.999e-05/0.2571, allocations: 105 kB / 0.7893 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001185/0.2572, allocations: 127.2 kB / 0.7894 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2572, allocations: 0 / 0.7894 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002387/0.2574, allocations: 4 kB / 0.7894 GB, free: 6.656 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.0001481/0.2576, allocations: 186.5 kB / 0.7896 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.429e-05/0.2577, allocations: 7.938 kB / 0.7896 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2577, allocations: 0 / 0.7896 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.2577, allocations: 0 / 0.7896 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.2582, allocations: 0.5224 MB / 0.7901 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.2585, allocations: 229.2 kB / 0.7903 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.2588, allocations: 0.6954 MB / 0.791 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.364e-05/0.2588, allocations: 4 kB / 0.791 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.2588, allocations: 11.44 kB / 0.791 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.2588, allocations: 0 / 0.791 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of Templates: time 0.002283/0.2611, allocations: 456.4 kB / 0.7914 GB, free: 4.5 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)