Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",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.769/2.769, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001614/0.001613, allocations: 193.8 kB / 370.8 MB, free: 10.85 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.085/2.085, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001158/0.001158, allocations: 90.91 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007482/0.0007487, allocations: 10.62 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2128, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.003019/0.2159, allocations: 1.802 MB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.2172, allocations: 491.8 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.2175, allocations: 4 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.644e-05/0.2176, allocations: 23.72 kB / 0.9805 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.218, allocations: 63.78 kB / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.2183, allocations: 79.91 kB / 0.9807 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000492/0.2189, allocations: 200.6 kB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004411/0.2193, allocations: 120.3 kB / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003007/0.2196, allocations: 83.56 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.2199, allocations: 99.41 kB / 0.9812 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.785e-05/0.22, allocations: 8 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.393e-05/0.2201, allocations: 8 kB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.349e-05/0.2201, allocations: 39.78 kB / 0.9812 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.474e-05/0.2203, allocations: 77.52 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006645/0.2209, allocations: 383.2 kB / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.221, allocations: 0 / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.088e-06/0.221, allocations: 0 / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.221, allocations: 0 / 0.9817 GB, free: 24.8 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.002045/0.2231, allocations: 0.5807 MB / 0.9822 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 7.874e-05/0.2232, allocations: 12.02 kB / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/0.2234, allocations: 58.55 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.2236, allocations: 35.62 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009851/0.2246, allocations: 322 kB / 0.9826 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.227e-05/0.2247, allocations: 16.56 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.2248, allocations: 28 kB / 0.9827 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.2264, allocations: 291.7 kB / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.2265, allocations: 0 / 0.983 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-05/0.2266, allocations: 12 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.2266, allocations: 4 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/0.2282, allocations: 222.1 kB / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003108/0.2314, allocations: 0.9976 MB / 0.9842 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.2326, allocations: 277.6 kB / 0.9844 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/0.2327, allocations: 7.984 kB / 0.9844 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.2328, allocations: 42.78 kB / 0.9845 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.665e-06/0.2328, allocations: 3.938 kB / 0.9845 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.001157/0.2339, allocations: 275.2 kB / 0.9847 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.234, allocations: 55.41 kB / 0.9848 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004132/0.2344, allocations: 282.9 kB / 0.9851 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.2345, allocations: 37.62 kB / 0.9851 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.2346, allocations: 188 kB / 0.9853 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.128e-05/0.2347, allocations: 55.2 kB / 0.9853 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.585e-05/0.2347, allocations: 0 / 0.9853 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.67e-05/0.2348, allocations: 342.8 kB / 0.9857 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.2351, allocations: 79.95 kB / 0.9857 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.2355, allocations: 125 kB / 0.9858 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003756/0.2359, allocations: 92 kB / 0.9859 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.2359, allocations: 0 / 0.9859 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000914/0.2369, allocations: 263 kB / 0.9862 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.237, allocations: 445.1 kB / 0.9866 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.2371, allocations: 4 kB / 0.9866 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.2371, allocations: 0 / 0.9866 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.2375, allocations: 55.91 kB / 0.9867 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.2375, allocations: 7.984 kB / 0.9867 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.2378, allocations: 31.73 kB / 0.9867 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.2379, allocations: 8 kB / 0.9867 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.2379, allocations: 7.953 kB / 0.9867 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007419/0.2386, allocations: 200.5 kB / 0.9869 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2387, allocations: 4 kB / 0.9869 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/0.2387, allocations: 0 / 0.9869 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.239, allocations: 56.05 kB / 0.987 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.2391, allocations: 4 kB / 0.987 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.2393, allocations: 31.77 kB / 0.987 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.2394, allocations: 4 kB / 0.987 GB, free: 19 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.con1.y,conRadSup.conPIDRad.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 0.0002291/0.2396, allocations: 221.1 kB / 0.9872 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.929e-05/0.2397, allocations: 23.72 kB / 0.9872 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008463/0.2405, allocations: 235.6 kB / 0.9875 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.2406, allocations: 11.95 kB / 0.9875 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2406, allocations: 0 / 0.9875 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.2406, allocations: 0 / 0.9875 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.2419, allocations: 0.6405 MB / 0.9881 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.242, allocations: 3.938 kB / 0.9881 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.2424, allocations: 47.91 kB / 0.9882 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.2424, allocations: 3.953 kB / 0.9882 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.304e-05/0.2424, allocations: 4 kB / 0.9882 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.2424, allocations: 0 / 0.9882 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2425, allocations: 0 / 0.9882 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.2436, allocations: 416.6 kB / 0.9886 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.918e-05/0.2437, allocations: 108.8 kB / 0.9887 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.2438, allocations: 7.953 kB / 0.9887 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.2441, allocations: 23.92 kB / 0.9887 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.713e-05/0.2442, allocations: 11.92 kB / 0.9887 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.2442, allocations: 8.062 kB / 0.9887 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000266/0.2445, allocations: 202 kB / 0.9889 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2445, allocations: 0 / 0.9889 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005556/0.2451, allocations: 87.59 kB / 0.989 GB, free: 16.88 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conRadSup.conPIDRad.I.y) * 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 (17): * Single equations (assignments): 17 * 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.001393/0.2465, allocations: 0.9481 MB / 0.9899 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.2476, allocations: 293 kB / 0.9902 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.2477, allocations: 8 kB / 0.9902 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003521/0.248, allocations: 92.05 kB / 0.9903 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.2485, allocations: 32.88 kB / 0.9903 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/0.2523, allocations: 2.145 MB / 0.9924 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.2526, allocations: 0.7638 MB / 0.9932 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002369/0.2529, allocations: 33.92 kB / 0.9932 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.2531, allocations: 87.41 kB / 0.9933 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of SimCode: time 1.774e-06/0.2531, allocations: 3.938 kB / 0.9933 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02603/0.2791, allocations: 4.664 MB / 0.9978 GB, free: 7.887 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.2794, allocations: 198.4 kB / 0.998 GB, free: 7.648 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/2.789, allocations: 0 / 0.998 GB, free: 7.648 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)