Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.546/2.546, allocations: 287.5 MB / 302.4 MB, free: 8.312 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.001324/0.001324, allocations: 178.6 kB / 371 MB, free: 10.88 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.092/2.092, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0009619/0.0009619, allocations: 96.92 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007639/0.0007642, allocations: 14.19 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2508, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax): time 0.0008778/0.2518, allocations: 379 kB / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001286/0.2519, allocations: 11.98 kB / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.252, allocations: 0 / 0.9788 GB, free: 27.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.275e-05/0.2521, allocations: 3.938 kB / 0.9788 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.849e-05/0.2521, allocations: 0 / 0.9788 GB, free: 27.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 7.06e-05/0.2522, allocations: 12 kB / 0.9789 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.261e-05/0.2523, allocations: 23.92 kB / 0.9789 GB, free: 27.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2524, allocations: 27.97 kB / 0.9789 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.193e-05/0.2525, allocations: 11.94 kB / 0.9789 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.889e-05/0.2525, allocations: 7.938 kB / 0.9789 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.2525, allocations: 0 / 0.9789 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.2526, allocations: 0 / 0.9789 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.2526, allocations: 4 kB / 0.9789 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.2526, allocations: 29.7 kB / 0.979 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.817e-05/0.2527, allocations: 43.84 kB / 0.979 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2527, allocations: 4 kB / 0.979 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2527, allocations: 0 / 0.979 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2527, allocations: 0 / 0.979 GB, free: 27.71 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.0002837/0.253, allocations: 343.5 kB / 0.9793 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2531, allocations: 12.02 kB / 0.9793 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.2531, allocations: 38.56 kB / 0.9794 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.2532, allocations: 11.91 kB / 0.9794 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.2533, allocations: 186.9 kB / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.2533, allocations: 0 / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.2534, allocations: 4 kB / 0.9796 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/0.2536, allocations: 77.66 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2536, allocations: 3.938 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.2536, allocations: 0 / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.078e-06/0.2536, allocations: 8 kB / 0.9797 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.2538, allocations: 47.97 kB / 0.9797 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.2543, allocations: 479.1 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.671e-05/0.2543, allocations: 169.2 kB / 0.9803 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.037e-05/0.2544, allocations: 88.08 kB / 0.9804 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.2544, allocations: 83.23 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.2544, allocations: 109.9 kB / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.733e-06/0.2544, allocations: 0 / 0.9806 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.134e-05/0.2545, allocations: 37.55 kB / 0.9806 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.2546, allocations: 130.7 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.2548, allocations: 167.9 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.2548, allocations: 29.7 kB / 0.9809 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.2548, allocations: 96.05 kB / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-06/0.2548, allocations: 0 / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.2549, allocations: 0 / 0.981 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.062e-05/0.2549, allocations: 322.8 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.279e-05/0.255, allocations: 4 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.166e-05/0.255, allocations: 11.98 kB / 0.9814 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.897e-05/0.255, allocations: 7.984 kB / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.255, allocations: 64 / 0.9814 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001482/0.2552, allocations: 61.53 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2552, allocations: 7.953 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2553, allocations: 0 / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2553, allocations: 0 / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.014e-05/0.2554, allocations: 4 kB / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2554, allocations: 0 / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.026e-05/0.2554, allocations: 7.938 kB / 0.9814 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.2555, allocations: 4 kB / 0.9814 GB, free: 24.98 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 9.555e-05/0.2556, allocations: 198.5 kB / 0.9816 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.2556, allocations: 112.9 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.2557, allocations: 120.8 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.755e-05/0.2557, allocations: 176.3 kB / 0.982 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.172e-05/0.2558, allocations: 180.2 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-05/0.2558, allocations: 176.3 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.256, allocations: 429.2 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.252e-05/0.2561, allocations: 104.9 kB / 0.9829 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/0.2561, allocations: 104.9 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.929e-05/0.2562, allocations: 181.1 kB / 0.9831 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.2562, allocations: 180.3 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-05/0.2563, allocations: 188.2 kB / 0.9835 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.585e-05/0.2563, allocations: 188.1 kB / 0.9837 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.608e-05/0.2564, allocations: 303.8 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.2565, allocations: 198.2 kB / 0.9842 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.451e-05/0.2566, allocations: 176.3 kB / 0.9843 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.2567, allocations: 109 kB / 0.9844 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.2567, allocations: 192.2 kB / 0.9846 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.2567, allocations: 112.9 kB / 0.9847 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001347/0.2569, allocations: 129.8 kB / 0.9848 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2569, allocations: 0 / 0.9848 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002746/0.2572, allocations: 4 kB / 0.9848 GB, free: 21.28 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.0003597/0.2576, allocations: 0.8126 MB / 0.9856 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.021e-05/0.2577, allocations: 11.92 kB / 0.9857 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2577, allocations: 8 kB / 0.9857 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/0.2577, allocations: 0 / 0.9857 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.2581, allocations: 0.5245 MB / 0.9862 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008865/0.259, allocations: 0.5879 MB / 0.9867 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.2592, allocations: 0.6926 MB / 0.9874 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.78e-05/0.2593, allocations: 8 kB / 0.9874 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.2593, allocations: 15.42 kB / 0.9874 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of SimCode: time 2.284e-06/0.2593, allocations: 112 / 0.9874 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.28, allocations: 1.403 MB / 0.9888 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/0.2803, allocations: 192.5 kB / 0.989 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/2.621, allocations: 0 / 0.989 GB, free: 17.02 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiMax.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax.pipe 2>&1)