Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 103.4 kB / 16.27 MB, free: 5.977 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.001155/0.001155, allocations: 188.5 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7534/0.7534, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 67.89 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.314, allocations: 77.92 MB / 0.5673 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002682/0.3167, allocations: 2.116 MB / 0.5694 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.318, allocations: 1.026 MB / 0.5704 GB, free: 30.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.3181, allocations: 2.469 kB / 0.5704 GB, free: 30.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.987e-05/0.3182, allocations: 25.97 kB / 0.5704 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.3184, allocations: 84.17 kB / 0.5705 GB, free: 30.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.3188, allocations: 186.2 kB / 0.5706 GB, free: 30.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.319, allocations: 302 kB / 0.5709 GB, free: 30.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.3192, allocations: 64.38 kB / 0.571 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.3193, allocations: 107.5 kB / 0.5711 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.3195, allocations: 141.9 kB / 0.5712 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.3195, allocations: 23.56 kB / 0.5712 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003892/0.3199, allocations: 292.7 kB / 0.5715 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.32, allocations: 49.06 kB / 0.5716 GB, free: 30.03 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.31e-05/0.3201, allocations: 119.6 kB / 0.5717 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003285/0.3204, allocations: 324.8 kB / 0.572 GB, free: 29.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3204, allocations: 1.406 kB / 0.572 GB, free: 29.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3205, allocations: 1 kB / 0.572 GB, free: 29.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3205, allocations: 0 / 0.572 GB, free: 29.83 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009193/0.3214, allocations: 0.6247 MB / 0.5726 GB, free: 29.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.3214, allocations: 10.73 kB / 0.5726 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.979e-05/0.3215, allocations: 51.64 kB / 0.5727 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.3217, allocations: 43.06 kB / 0.5727 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.3219, allocations: 271.4 kB / 0.573 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3219, allocations: 10.72 kB / 0.573 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.322, allocations: 17.59 kB / 0.573 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/0.3225, allocations: 228 kB / 0.5732 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.3225, allocations: 2.219 kB / 0.5732 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.3225, allocations: 6.438 kB / 0.5732 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3225, allocations: 3.562 kB / 0.5732 GB, free: 28.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006544/0.3232, allocations: 200.6 kB / 0.5734 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009091/0.3241, allocations: 0.9392 MB / 0.5743 GB, free: 28.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000731/0.3248, allocations: 240.8 kB / 0.5746 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.3252, allocations: 119.2 kB / 0.5747 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.3252, allocations: 3.016 kB / 0.5747 GB, free: 27.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.233e-05/0.3252, allocations: 40.42 kB / 0.5747 GB, free: 27.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.3252, allocations: 0 / 0.5747 GB, free: 27.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001127/0.3264, allocations: 332.2 kB / 0.575 GB, free: 27.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.3264, allocations: 84.06 kB / 0.5751 GB, free: 27.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.3266, allocations: 265.2 kB / 0.5754 GB, free: 27.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.3266, allocations: 33.12 kB / 0.5754 GB, free: 27.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.3267, allocations: 157.9 kB / 0.5756 GB, free: 27.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.3267, allocations: 59.02 kB / 0.5756 GB, free: 27.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.3268, allocations: 44.42 kB / 0.5757 GB, free: 27.25 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.079e-05/0.3269, allocations: 332.8 kB / 0.576 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.3272, allocations: 90.22 kB / 0.5761 GB, free: 26.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003358/0.3276, allocations: 144.3 kB / 0.5762 GB, free: 26.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000644/0.3282, allocations: 237.2 kB / 0.5764 GB, free: 26.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3282, allocations: 1.188 kB / 0.5764 GB, free: 26.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008014/0.329, allocations: 301.4 kB / 0.5767 GB, free: 26.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.329, allocations: 5.406 kB / 0.5767 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3291, allocations: 1.75 kB / 0.5767 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3291, allocations: 6.281 kB / 0.5767 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.3294, allocations: 68.08 kB / 0.5768 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3294, allocations: 2.5 kB / 0.5768 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.3296, allocations: 39 kB / 0.5768 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.3296, allocations: 8.312 kB / 0.5768 GB, free: 26.6 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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 8.19e-05/0.3297, allocations: 136.1 kB / 0.577 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.3298, allocations: 29.75 kB / 0.577 GB, free: 26.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007873/0.3306, allocations: 294.7 kB / 0.5773 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3306, allocations: 3.281 kB / 0.5773 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3306, allocations: 0 / 0.5773 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3307, allocations: 3.453 kB / 0.5773 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003099/0.331, allocations: 294.6 kB / 0.5776 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.331, allocations: 1.156 kB / 0.5776 GB, free: 26.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.3312, allocations: 56.17 kB / 0.5776 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3313, allocations: 2.094 kB / 0.5776 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.3313, allocations: 6.219 kB / 0.5776 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.3313, allocations: 2.812 kB / 0.5776 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3313, allocations: 0 / 0.5776 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007614/0.332, allocations: 452.4 kB / 0.5781 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.3321, allocations: 106.1 kB / 0.5782 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.3321, allocations: 7.031 kB / 0.5782 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.3324, allocations: 23.98 kB / 0.5782 GB, free: 25.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.3325, allocations: 27.3 kB / 0.5782 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.3325, allocations: 4.188 kB / 0.5782 GB, free: 25.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.3327, allocations: 190.3 kB / 0.5784 GB, free: 25.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3327, allocations: 1.938 kB / 0.5784 GB, free: 25.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003457/0.333, allocations: 59.56 kB / 0.5785 GB, free: 25.56 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0009519/0.334, allocations: 0.9853 MB / 0.5794 GB, free: 24.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000717/0.3347, allocations: 235.8 kB / 0.5796 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3347, allocations: 0.5625 kB / 0.5796 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004729/0.3352, allocations: 120.1 kB / 0.5798 GB, free: 24.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006926/0.3359, allocations: 80.25 kB / 0.5798 GB, free: 24.65 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.3393, allocations: 2.707 MB / 0.5825 GB, free: 22.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.3395, allocations: 0.75 MB / 0.5832 GB, free: 22.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001517/0.3396, allocations: 32.16 kB / 0.5832 GB, free: 22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.3397, allocations: 85.62 kB / 0.5833 GB, free: 21.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3397, allocations: 0 / 0.5833 GB, free: 21.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/0.3739, allocations: 6.469 MB / 0.5896 GB, free: 18.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.57/7.944, allocations: 16.83 kB / 0.5897 GB, free: 18.77 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.csv --start-time 0 --stop-time 80 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.032 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)