Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.621/1.621, allocations: 288.2 MB / 303.2 MB, free: 8.094 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.00111/0.00111, allocations: 177.1 kB / 371.8 MB, free: 10.27 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.887/1.887, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0008993/0.0008995, allocations: 97.2 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004382/0.0004385, allocations: 13.81 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2462, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.000864/0.2471, allocations: 373.5 kB / 0.9798 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001228/0.2473, allocations: 17.59 kB / 0.9799 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.705e-05/0.2473, allocations: 0 / 0.9799 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.192e-05/0.2474, allocations: 7.984 kB / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.644e-05/0.2475, allocations: 3.938 kB / 0.9799 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.867e-05/0.2475, allocations: 4 kB / 0.9799 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.614e-05/0.2476, allocations: 15.98 kB / 0.9799 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.2478, allocations: 27.98 kB / 0.9799 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.126e-05/0.2478, allocations: 7.922 kB / 0.9799 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.111e-05/0.2478, allocations: 11.94 kB / 0.9799 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.2478, allocations: 0 / 0.9799 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.2479, allocations: 0 / 0.9799 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.2479, allocations: 7.984 kB / 0.9799 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.2479, allocations: 33.64 kB / 0.98 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.527e-05/0.248, allocations: 39.88 kB / 0.98 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.248, allocations: 0 / 0.98 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.562e-06/0.248, allocations: 0 / 0.98 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.248, allocations: 4 kB / 0.98 GB, free: 27.04 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000265/0.2483, allocations: 335.5 kB / 0.9803 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2483, allocations: 12.02 kB / 0.9803 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.2484, allocations: 38.56 kB / 0.9804 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.367e-05/0.2484, allocations: 7.906 kB / 0.9804 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.2486, allocations: 182.9 kB / 0.9806 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.854e-06/0.2486, allocations: 4 kB / 0.9806 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.2486, allocations: 8 kB / 0.9806 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.2487, allocations: 77.59 kB / 0.9807 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2488, allocations: 0 / 0.9807 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.2488, allocations: 4 kB / 0.9807 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2488, allocations: 4 kB / 0.9807 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.847e-05/0.2489, allocations: 47.91 kB / 0.9807 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.2493, allocations: 483.1 kB / 0.9812 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.659e-05/0.2494, allocations: 169.1 kB / 0.9813 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.2494, allocations: 75.28 kB / 0.9814 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.2495, allocations: 109.8 kB / 0.9815 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.2495, allocations: 0 / 0.9815 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.764e-05/0.2495, allocations: 45.5 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.2496, allocations: 130.7 kB / 0.9817 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.2497, allocations: 177 kB / 0.9818 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.2498, allocations: 25.7 kB / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.2498, allocations: 100 kB / 0.982 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.2498, allocations: 0 / 0.982 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.2498, allocations: 0 / 0.982 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.679e-05/0.2499, allocations: 318.8 kB / 0.9823 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.2499, allocations: 11.94 kB / 0.9823 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.104e-05/0.2499, allocations: 7.984 kB / 0.9823 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.767e-05/0.25, allocations: 12.06 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.25, allocations: 0 / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001112/0.2501, allocations: 61.52 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.2501, allocations: 4 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.2501, allocations: 0 / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.2501, allocations: 3.953 kB / 0.9824 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.002e-05/0.2502, allocations: 4 kB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.2502, allocations: 0 / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.2503, allocations: 7.938 kB / 0.9824 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.2503, allocations: 4.031 kB / 0.9824 GB, free: 24.39 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.259e-05/0.2504, allocations: 193.1 kB / 0.9826 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.2504, allocations: 112.9 kB / 0.9827 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.2505, allocations: 124.6 kB / 0.9828 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.834e-05/0.2505, allocations: 180.3 kB / 0.983 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.903e-05/0.2505, allocations: 184.1 kB / 0.9831 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.852e-05/0.2506, allocations: 184.3 kB / 0.9833 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.2507, allocations: 425.2 kB / 0.9837 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/0.2507, allocations: 104.9 kB / 0.9838 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.2508, allocations: 102 kB / 0.9839 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-05/0.2508, allocations: 184.2 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.2508, allocations: 180.3 kB / 0.9843 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-05/0.2509, allocations: 180.3 kB / 0.9844 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.169e-05/0.2509, allocations: 188.1 kB / 0.9846 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.46e-05/0.251, allocations: 307.8 kB / 0.9849 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.251, allocations: 198 kB / 0.9851 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.2511, allocations: 176.5 kB / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.344e-05/0.2512, allocations: 104.9 kB / 0.9854 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.2512, allocations: 192.3 kB / 0.9855 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.2512, allocations: 108.9 kB / 0.9857 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.91e-05/0.2513, allocations: 131.2 kB / 0.9858 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2513, allocations: 0 / 0.9858 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002252/0.2515, allocations: 8 kB / 0.9858 GB, free: 20.68 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: 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 (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.0002885/0.2518, allocations: 0.8048 MB / 0.9866 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.296e-05/0.2519, allocations: 19.92 kB / 0.9866 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2519, allocations: 0 / 0.9866 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.2519, allocations: 4.062 kB / 0.9866 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.2522, allocations: 0.5238 MB / 0.9871 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006599/0.2529, allocations: 0.5829 MB / 0.9877 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.2531, allocations: 0.7004 MB / 0.9884 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.915e-05/0.2531, allocations: 4 kB / 0.9884 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.2532, allocations: 15.44 kB / 0.9884 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2532, allocations: 0 / 0.9884 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01079/0.264, allocations: 1.39 MB / 0.9897 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001247/0.2641, allocations: 197.5 kB / 0.9899 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.403/1.667, allocations: 0 / 0.9899 GB, free: 16.45 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)