Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 110.1 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 213.9 kB / 23.04 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8489/0.8489, allocations: 134 MB / 447.2 MB, free: 10.21 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 61.5 kB / 0.6193 GB, free: 7.195 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1901, allocations: 85.91 MB / 0.7032 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003551/0.1937, allocations: 1.622 MB / 0.7048 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002117/0.1958, allocations: 1.002 MB / 0.7058 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.1959, allocations: 4 kB / 0.7058 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.743e-05/0.196, allocations: 3.938 kB / 0.7058 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.1963, allocations: 23.78 kB / 0.7058 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.1968, allocations: 159.5 kB / 0.706 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.197, allocations: 91.62 kB / 0.7061 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1971, allocations: 4 kB / 0.7061 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.1973, allocations: 35.86 kB / 0.7061 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.1974, allocations: 39.83 kB / 0.7061 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1974, allocations: 4 kB / 0.7061 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005008/0.1979, allocations: 295.6 kB / 0.7064 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.355e-05/0.198, allocations: 11.94 kB / 0.7064 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.198, allocations: 31.8 kB / 0.7065 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.1983, allocations: 151.5 kB / 0.7066 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1983, allocations: 4 kB / 0.7066 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.953e-06/0.1983, allocations: 0 / 0.7066 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.1983, allocations: 0 / 0.7066 GB, free: 13.89 MB / 0.5294 GB 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.0006784/0.199, allocations: 341.7 kB / 0.7069 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.1991, allocations: 8.031 kB / 0.7069 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.726e-05/0.1991, allocations: 192 / 0.7069 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.27e-05/0.1991, allocations: 42.75 kB / 0.707 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002912/0.1994, allocations: 32.86 kB / 0.707 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.1997, allocations: 142.3 kB / 0.7071 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-06/0.1997, allocations: 3.938 kB / 0.7071 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.1998, allocations: 8 kB / 0.7072 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.2, allocations: 65.55 kB / 0.7072 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2, allocations: 0 / 0.7072 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.2, allocations: 0 / 0.7072 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2, allocations: 4 kB / 0.7072 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.2002, allocations: 43.95 kB / 0.7073 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.2007, allocations: 267.8 kB / 0.7075 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.2008, allocations: 62.48 kB / 0.7076 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.712e-05/0.2009, allocations: 32.97 kB / 0.7076 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.2009, allocations: 0 / 0.7076 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.201, allocations: 30.56 kB / 0.7076 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.201, allocations: 0 / 0.7076 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0003928/0.2014, allocations: 105.6 kB / 0.7077 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.2014, allocations: 63.41 kB / 0.7078 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.2015, allocations: 131.8 kB / 0.7079 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.2016, allocations: 33.7 kB / 0.708 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.901e-05/0.2016, allocations: 88.14 kB / 0.708 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.2017, allocations: 23.77 kB / 0.7081 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.2017, allocations: 21.66 kB / 0.7081 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2019, allocations: 322.8 kB / 0.7084 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.202, allocations: 19.98 kB / 0.7084 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.281e-05/0.202, allocations: 27.98 kB / 0.7084 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.2022, allocations: 52.83 kB / 0.7085 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2022, allocations: 0 / 0.7085 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002467/0.2024, allocations: 93.56 kB / 0.7086 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2025, allocations: 4 kB / 0.7086 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.2025, allocations: 448 / 0.7086 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2025, allocations: 0 / 0.7086 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.2026, allocations: 23.92 kB / 0.7086 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.2026, allocations: 0 / 0.7086 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.98e-05/0.2027, allocations: 15.94 kB / 0.7086 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.2027, allocations: 4 kB / 0.7086 GB, free: 11.62 MB / 0.5294 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 (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 0.0001039/0.2028, allocations: 113.8 kB / 0.7087 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-05/0.2029, allocations: 7.953 kB / 0.7087 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.2031, allocations: 98.06 kB / 0.7088 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2031, allocations: 0 / 0.7088 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2031, allocations: 0 / 0.7088 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.2031, allocations: 11.86 kB / 0.7088 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.2034, allocations: 152.7 kB / 0.709 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2034, allocations: 3.938 kB / 0.709 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.405e-05/0.2034, allocations: 15.98 kB / 0.709 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2034, allocations: 0 / 0.709 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.2035, allocations: 4 kB / 0.709 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.2035, allocations: 0 / 0.709 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2035, allocations: 4 kB / 0.709 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.2038, allocations: 191.4 kB / 0.7092 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.2038, allocations: 3.953 kB / 0.7092 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.2038, allocations: 4 kB / 0.7092 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.2039, allocations: 0 / 0.7092 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.2039, allocations: 11.92 kB / 0.7092 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.2039, allocations: 4 kB / 0.7092 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.221e-05/0.204, allocations: 109.1 kB / 0.7093 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.204, allocations: 3.938 kB / 0.7093 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002586/0.2043, allocations: 31.89 kB / 0.7094 GB, free: 10.79 MB / 0.5294 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 (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.0006951/0.205, allocations: 0.7283 MB / 0.7101 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.2052, allocations: 59.89 kB / 0.7101 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2052, allocations: 0 / 0.7101 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.572e-05/0.2053, allocations: 23.98 kB / 0.7102 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.2056, allocations: 18.22 kB / 0.7102 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.2075, allocations: 1.482 MB / 0.7116 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.2078, allocations: 0.6924 MB / 0.7123 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.994e-05/0.2079, allocations: 15.97 kB / 0.7123 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.554e-05/0.2079, allocations: 19.44 kB / 0.7123 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of SimCode: time 8.21e-07/0.2079, allocations: 4 kB / 0.7123 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02366/0.2316, allocations: 2.505 MB / 0.7148 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.1, allocations: 12.05 kB / 0.7148 GB, free: 5.25 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.741125853033736] Failed to read output from testmodel.py, exit status != 0: 11.25869580206927 11.277021104 11.07544943 Calling exit ...