Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="IDEAS_IDEAS_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.001349/0.001349, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 198.3 kB / 16.53 MB, free: 6.668 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.273/1.273, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7331/0.7331, allocations: 132.2 MB / 422.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 61.31 kB / 0.5019 GB, free: 3.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3529, allocations: 80.19 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002887/0.3559, allocations: 2.124 MB / 0.5823 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.3573, allocations: 1.019 MB / 0.5833 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.3574, allocations: 3.594 kB / 0.5833 GB, free: 2.355 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.459e-05/0.3575, allocations: 25.27 kB / 0.5833 GB, free: 2.336 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.3578, allocations: 88.62 kB / 0.5834 GB, free: 2.27 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.3582, allocations: 187.6 kB / 0.5836 GB, free: 2.191 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002671/0.3584, allocations: 297.5 kB / 0.5838 GB, free: 2.047 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.3586, allocations: 69.38 kB / 0.5839 GB, free: 2.012 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.3587, allocations: 106 kB / 0.584 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.3589, allocations: 140.2 kB / 0.5841 GB, free: 1.902 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.359, allocations: 21.38 kB / 0.5842 GB, free: 1.898 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004192/0.3594, allocations: 299.7 kB / 0.5845 GB, free: 1.824 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.3595, allocations: 45 kB / 0.5845 GB, free: 1.797 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.21e-05/0.3596, allocations: 118.8 kB / 0.5846 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003571/0.3599, allocations: 323.8 kB / 0.5849 GB, free: 1.594 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3599, allocations: 0 / 0.5849 GB, free: 1.594 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3599, allocations: 0.8438 kB / 0.5849 GB, free: 1.594 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.3599, allocations: 0 / 0.5849 GB, free: 1.594 MB / 430.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.0009376/0.3609, allocations: 0.6295 MB / 0.5855 GB, free: 1.086 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.3609, allocations: 10.19 kB / 0.5855 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.361, allocations: 49.58 kB / 0.5856 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.3612, allocations: 42.39 kB / 0.5856 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.3614, allocations: 278.6 kB / 0.5859 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3615, allocations: 10.59 kB / 0.5859 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.3615, allocations: 18.09 kB / 0.5859 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005021/0.362, allocations: 224.3 kB / 0.5861 GB, free: 0.625 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.362, allocations: 3.938 kB / 0.5861 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.362, allocations: 5.688 kB / 0.5861 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.362, allocations: 4.188 kB / 0.5861 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006701/0.3627, allocations: 199 kB / 0.5863 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.3637, allocations: 0.9389 MB / 0.5873 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007966/0.3645, allocations: 242.6 kB / 0.5875 GB, free: 15.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.3649, allocations: 114.8 kB / 0.5876 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3649, allocations: 1.5 kB / 0.5876 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.365, allocations: 41.33 kB / 0.5876 GB, free: 15.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.242e-06/0.365, allocations: 0 / 0.5876 GB, free: 15.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001197/0.3662, allocations: 339 kB / 0.588 GB, free: 15.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.3662, allocations: 88.44 kB / 0.588 GB, free: 15.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.3665, allocations: 261.3 kB / 0.5883 GB, free: 15.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.3665, allocations: 30.83 kB / 0.5883 GB, free: 15.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3666, allocations: 158.9 kB / 0.5885 GB, free: 15.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/0.3667, allocations: 49.94 kB / 0.5885 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/0.3668, allocations: 44.77 kB / 0.5886 GB, free: 14.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3669, allocations: 332.2 kB / 0.5889 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003442/0.3672, allocations: 92.77 kB / 0.589 GB, free: 14.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/0.3676, allocations: 143.4 kB / 0.5891 GB, free: 14.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007004/0.3683, allocations: 247.9 kB / 0.5893 GB, free: 14.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3683, allocations: 0 / 0.5893 GB, free: 14.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008729/0.3692, allocations: 292.7 kB / 0.5896 GB, free: 14.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.3693, allocations: 8.438 kB / 0.5896 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3693, allocations: 2.281 kB / 0.5896 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3693, allocations: 2.422 kB / 0.5896 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.3696, allocations: 64.88 kB / 0.5897 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3696, allocations: 8.484 kB / 0.5897 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002428/0.3699, allocations: 38.28 kB / 0.5897 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.3699, allocations: 5.859 kB / 0.5897 GB, free: 14.31 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 0.0001164/0.37, allocations: 140.2 kB / 0.5899 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.3701, allocations: 24.44 kB / 0.5899 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008689/0.371, allocations: 295.1 kB / 0.5902 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.371, allocations: 2.344 kB / 0.5902 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.371, allocations: 1.656 kB / 0.5902 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.371, allocations: 5.5 kB / 0.5902 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/0.3715, allocations: 290.6 kB / 0.5905 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3715, allocations: 1.156 kB / 0.5905 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.3718, allocations: 57.98 kB / 0.5905 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3718, allocations: 2.328 kB / 0.5905 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.3718, allocations: 5.656 kB / 0.5905 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.3718, allocations: 5.766 kB / 0.5905 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3718, allocations: 1 kB / 0.5905 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008698/0.3727, allocations: 446.3 kB / 0.591 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.3728, allocations: 109.5 kB / 0.5911 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.3728, allocations: 6.234 kB / 0.5911 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.3731, allocations: 23.3 kB / 0.5911 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.3732, allocations: 22.38 kB / 0.5911 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.3732, allocations: 4.188 kB / 0.5911 GB, free: 13.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001912/0.3734, allocations: 189.9 kB / 0.5913 GB, free: 13.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3734, allocations: 3.938 kB / 0.5913 GB, free: 13.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003725/0.3738, allocations: 63.56 kB / 0.5914 GB, free: 13.25 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.001155/0.3749, allocations: 0.9851 MB / 0.5923 GB, free: 12.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008074/0.3758, allocations: 234.8 kB / 0.5926 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3758, allocations: 0 / 0.5926 GB, free: 12.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003751/0.3761, allocations: 120.6 kB / 0.5927 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005813/0.3767, allocations: 78.44 kB / 0.5927 GB, free: 12.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003944/0.3807, allocations: 2.715 MB / 0.5954 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.381, allocations: 0.7516 MB / 0.5961 GB, free: 9.777 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001669/0.3812, allocations: 34.69 kB / 0.5962 GB, free: 9.762 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.3813, allocations: 84.75 kB / 0.5962 GB, free: 9.703 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3813, allocations: 0 / 0.5962 GB, free: 9.703 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02131/0.4026, allocations: 6.462 MB / 0.6026 GB, free: 6.703 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.976/7.379, allocations: 2.156 kB / 0.6026 GB, free: 6.703 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)