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.001365/0.001365, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001708/0.001708, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.392/1.392, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.844/0.844, allocations: 134 MB / 447.2 MB, free: 9.945 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.001922/0.001922, allocations: 57.91 kB / 0.6193 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1798, allocations: 85.92 MB / 0.7032 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003693/0.1835, allocations: 1.577 MB / 0.7047 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.1853, allocations: 0.9162 MB / 0.7056 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.226e-05/0.1854, allocations: 4 kB / 0.7056 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.196e-05/0.1855, allocations: 11.88 kB / 0.7056 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.1857, allocations: 23.78 kB / 0.7056 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.1862, allocations: 155.5 kB / 0.7058 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000181/0.1864, allocations: 75.72 kB / 0.7058 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1865, allocations: 19.98 kB / 0.7059 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.1866, allocations: 39.78 kB / 0.7059 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.1867, allocations: 35.84 kB / 0.7059 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.1868, allocations: 4 kB / 0.7059 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004566/0.1872, allocations: 291.6 kB / 0.7062 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.609e-05/0.1872, allocations: 11.94 kB / 0.7062 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.1873, allocations: 23.86 kB / 0.7063 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.1876, allocations: 159.4 kB / 0.7064 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1876, allocations: 4 kB / 0.7064 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1876, allocations: 4 kB / 0.7064 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.1876, allocations: 4 kB / 0.7064 GB, free: 13.7 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.0006476/0.1883, allocations: 333.7 kB / 0.7067 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.1883, allocations: 8.031 kB / 0.7067 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.197e-05/0.1883, allocations: 4.188 kB / 0.7067 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.1884, allocations: 30.75 kB / 0.7068 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002893/0.1887, allocations: 32.86 kB / 0.7068 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.1889, allocations: 142.3 kB / 0.7069 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.189, allocations: 11.94 kB / 0.707 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.189, allocations: 0 / 0.707 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.1892, allocations: 61.66 kB / 0.707 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1892, allocations: 8 kB / 0.707 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1892, allocations: 0 / 0.707 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1892, allocations: 0 / 0.707 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.1893, allocations: 43.95 kB / 0.7071 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.1898, allocations: 263.9 kB / 0.7073 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.19, allocations: 58.48 kB / 0.7074 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.498e-05/0.1901, allocations: 28.97 kB / 0.7074 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.1901, allocations: 7.938 kB / 0.7074 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1901, allocations: 30.56 kB / 0.7074 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.1901, allocations: 0 / 0.7074 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0003867/0.1905, allocations: 113.5 kB / 0.7075 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.1905, allocations: 59.41 kB / 0.7076 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.1907, allocations: 132.3 kB / 0.7077 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.1907, allocations: 29.7 kB / 0.7078 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.1908, allocations: 100.1 kB / 0.7079 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.1908, allocations: 15.84 kB / 0.7079 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.1908, allocations: 21.7 kB / 0.7079 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.191, allocations: 318.8 kB / 0.7082 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.056e-05/0.191, allocations: 19.98 kB / 0.7082 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-05/0.1911, allocations: 31.97 kB / 0.7082 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.1913, allocations: 48.84 kB / 0.7083 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1913, allocations: 0 / 0.7083 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002273/0.1915, allocations: 97.5 kB / 0.7084 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.1915, allocations: 4 kB / 0.7084 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.1915, allocations: 0 / 0.7084 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.1916, allocations: 4 kB / 0.7084 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.1917, allocations: 11.98 kB / 0.7084 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.1917, allocations: 4 kB / 0.7084 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.948e-05/0.1917, allocations: 15.92 kB / 0.7084 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1918, allocations: 4.438 kB / 0.7084 GB, free: 11.45 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 9.253e-05/0.1918, allocations: 113.8 kB / 0.7085 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.1919, allocations: 7.953 kB / 0.7085 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.1922, allocations: 102 kB / 0.7086 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1922, allocations: 0 / 0.7086 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1922, allocations: 0 / 0.7086 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1922, allocations: 11.94 kB / 0.7086 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001904/0.1924, allocations: 148.8 kB / 0.7088 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1924, allocations: 0 / 0.7088 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.622e-05/0.1924, allocations: 15.98 kB / 0.7088 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1925, allocations: 0 / 0.7088 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.1925, allocations: 0 / 0.7088 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1925, allocations: 0 / 0.7088 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1925, allocations: 7.984 kB / 0.7088 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.1927, allocations: 191.3 kB / 0.709 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.1928, allocations: 11.95 kB / 0.709 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.1928, allocations: 0 / 0.709 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.664e-05/0.1929, allocations: 8 kB / 0.709 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.1929, allocations: 7.922 kB / 0.709 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.686e-06/0.1929, allocations: 4 kB / 0.709 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.689e-05/0.193, allocations: 112.7 kB / 0.7091 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.193, allocations: 3.938 kB / 0.7091 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002435/0.1932, allocations: 23.89 kB / 0.7092 GB, free: 10.62 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.0006594/0.1939, allocations: 0.7281 MB / 0.7099 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.1941, allocations: 55.89 kB / 0.7099 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1941, allocations: 0 / 0.7099 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.587e-05/0.1942, allocations: 28.3 kB / 0.7099 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.1945, allocations: 17.05 kB / 0.71 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.1963, allocations: 1.486 MB / 0.7114 GB, free: 8.199 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.233e-05/0.1963, allocations: 76.08 kB / 0.7115 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.612e-05/0.1964, allocations: 11.98 kB / 0.7115 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.84e-05/0.1965, allocations: 23.44 kB / 0.7115 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/0.1965, allocations: 0 / 0.7115 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02363/0.2201, allocations: 2.589 MB / 0.7141 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.25, allocations: 2.812 kB / 0.7141 GB, free: 5.641 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.802154736942612] Failed to read output from testmodel.py, exit status != 0: 11.408618975081481 11.424777313 11.234063057 Calling exit ...