Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",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.001524/0.001524, allocations: 97.67 kB / 16.27 MB, free: 5.965 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.001331/0.001331, allocations: 192 kB / 17.2 MB, free: 5.594 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.24/1.24, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7036/0.7036, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.91 kB / 0.4912 GB, free: 7.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2772, allocations: 77.92 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002395/0.2797, allocations: 1.562 MB / 0.5688 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.2808, allocations: 0.8998 MB / 0.5697 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.2808, allocations: 0 / 0.5697 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.441e-05/0.2809, allocations: 6.859 kB / 0.5697 GB, free: 30.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.281, allocations: 26.53 kB / 0.5697 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.2814, allocations: 143.1 kB / 0.5699 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.2815, allocations: 79.78 kB / 0.5699 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.445e-05/0.2816, allocations: 18.23 kB / 0.57 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.38e-05/0.2817, allocations: 33.39 kB / 0.57 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.2818, allocations: 36.33 kB / 0.57 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.2818, allocations: 4.844 kB / 0.57 GB, free: 30.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003905/0.2822, allocations: 284.9 kB / 0.5703 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.975e-05/0.2822, allocations: 12.58 kB / 0.5703 GB, free: 30.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.2823, allocations: 36.72 kB / 0.5703 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.2825, allocations: 145.2 kB / 0.5705 GB, free: 30.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2825, allocations: 1.5 kB / 0.5705 GB, free: 30.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2825, allocations: 0 / 0.5705 GB, free: 30.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.2825, allocations: 1.625 kB / 0.5705 GB, free: 30.69 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004593/0.283, allocations: 414.2 kB / 0.5709 GB, free: 30.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.283, allocations: 10.22 kB / 0.5709 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.706e-05/0.2831, allocations: 32.59 kB / 0.5709 GB, free: 30.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.2832, allocations: 17.09 kB / 0.5709 GB, free: 30.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.2833, allocations: 197.3 kB / 0.5711 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.523e-06/0.2833, allocations: 3.938 kB / 0.5711 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.2833, allocations: 1.844 kB / 0.5711 GB, free: 30.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.2835, allocations: 64.77 kB / 0.5712 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.2835, allocations: 1.062 kB / 0.5712 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.2835, allocations: 4.562 kB / 0.5712 GB, free: 29.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.2835, allocations: 2.031 kB / 0.5712 GB, free: 29.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.2837, allocations: 46.41 kB / 0.5712 GB, free: 29.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.284, allocations: 292.2 kB / 0.5715 GB, free: 29.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.2842, allocations: 51.25 kB / 0.5716 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.546e-05/0.2843, allocations: 34.34 kB / 0.5716 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.2843, allocations: 1.953 kB / 0.5716 GB, free: 29.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.204e-05/0.2843, allocations: 35.69 kB / 0.5716 GB, free: 29.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.2843, allocations: 0 / 0.5716 GB, free: 29.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003348/0.2846, allocations: 104.2 kB / 0.5717 GB, free: 29.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.862e-05/0.2847, allocations: 53.27 kB / 0.5718 GB, free: 29.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.244e-05/0.2848, allocations: 136.9 kB / 0.5719 GB, free: 29.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.2848, allocations: 28.3 kB / 0.5719 GB, free: 29.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.2848, allocations: 96.59 kB / 0.572 GB, free: 29.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.2848, allocations: 16.53 kB / 0.5721 GB, free: 29.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.503e-05/0.2849, allocations: 20.52 kB / 0.5721 GB, free: 29.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.464e-05/0.2849, allocations: 324.2 kB / 0.5724 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.5e-05/0.285, allocations: 20.45 kB / 0.5724 GB, free: 28.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.586e-05/0.2851, allocations: 26.95 kB / 0.5724 GB, free: 28.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.2852, allocations: 56.42 kB / 0.5725 GB, free: 28.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.2852, allocations: 0 / 0.5725 GB, free: 28.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001919/0.2854, allocations: 86.33 kB / 0.5726 GB, free: 28.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.2854, allocations: 5.578 kB / 0.5726 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2855, allocations: 0 / 0.5726 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2855, allocations: 1.312 kB / 0.5726 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.2856, allocations: 15.39 kB / 0.5726 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2856, allocations: 448 / 0.5726 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.216e-05/0.2857, allocations: 10.34 kB / 0.5726 GB, free: 28.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.2857, allocations: 2.672 kB / 0.5726 GB, free: 28.8 MB / 446.1 MB 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 (6): * Single equations (assignments): 6 * 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 4.755e-05/0.2857, allocations: 121.7 kB / 0.5727 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.2858, allocations: 12.33 kB / 0.5727 GB, free: 28.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.286, allocations: 108.3 kB / 0.5728 GB, free: 28.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.286, allocations: 6.578 kB / 0.5728 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.286, allocations: 3.938 kB / 0.5728 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.286, allocations: 0.5625 kB / 0.5728 GB, free: 28.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.2862, allocations: 188.5 kB / 0.573 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2862, allocations: 1.406 kB / 0.573 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.522e-05/0.2863, allocations: 14.59 kB / 0.573 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2863, allocations: 4.469 kB / 0.573 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.2863, allocations: 3.359 kB / 0.573 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2863, allocations: 0 / 0.573 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2863, allocations: 0 / 0.573 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.2865, allocations: 191.6 kB / 0.5732 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.045e-05/0.2865, allocations: 82.95 kB / 0.5733 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.2866, allocations: 2.875 kB / 0.5733 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.2866, allocations: 8.797 kB / 0.5733 GB, free: 28.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.2867, allocations: 7.062 kB / 0.5733 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.2867, allocations: 1.094 kB / 0.5733 GB, free: 28.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.122e-05/0.2867, allocations: 99.91 kB / 0.5734 GB, free: 28.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2868, allocations: 1.531 kB / 0.5734 GB, free: 28.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.287, allocations: 23.31 kB / 0.5734 GB, free: 28.05 MB / 446.1 MB 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 (6): * Single equations (assignments): 6 * 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.0004028/0.2874, allocations: 0.7294 MB / 0.5742 GB, free: 27.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.2876, allocations: 63.03 kB / 0.5742 GB, free: 27.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2876, allocations: 5.844 kB / 0.5742 GB, free: 27.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.145e-05/0.2877, allocations: 32.12 kB / 0.5743 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.288, allocations: 12.06 kB / 0.5743 GB, free: 27.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.2892, allocations: 1.456 MB / 0.5757 GB, free: 26.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.459e-05/0.2893, allocations: 0.6949 MB / 0.5764 GB, free: 25.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.379e-05/0.2893, allocations: 2.688 kB / 0.5764 GB, free: 25.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.072e-05/0.2894, allocations: 27.59 kB / 0.5764 GB, free: 25.35 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2894, allocations: 0 / 0.5764 GB, free: 25.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.3055, allocations: 2.268 MB / 0.5786 GB, free: 25.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/7.899, allocations: 6.953 kB / 0.5786 GB, free: 25.02 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1)