Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001674/0.001674, allocations: 113.5 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.002087/0.002087, allocations: 218.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.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.8096/0.8096, allocations: 134 MB / 447.2 MB, free: 10.2 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.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.00183/0.00183, allocations: 65 kB / 0.6193 GB, free: 7.199 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1758, allocations: 85.9 MB / 0.7032 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006691/0.1825, allocations: 4.68 MB / 0.7078 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1837, allocations: 0.8225 MB / 0.7086 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.1837, allocations: 4 kB / 0.7086 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.1839, allocations: 31.77 kB / 0.7086 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.512e-05/0.184, allocations: 31.7 kB / 0.7087 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.1845, allocations: 175.4 kB / 0.7088 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.1847, allocations: 171.4 kB / 0.709 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.564e-05/0.1847, allocations: 25.22 kB / 0.709 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.1849, allocations: 83.69 kB / 0.7091 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.185, allocations: 75.72 kB / 0.7092 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.1851, allocations: 16 kB / 0.7092 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000321/0.1854, allocations: 155.8 kB / 0.7093 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.929e-05/0.1854, allocations: 35.91 kB / 0.7094 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.134e-05/0.1855, allocations: 71.64 kB / 0.7094 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.1859, allocations: 243.1 kB / 0.7097 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1859, allocations: 0 / 0.7097 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1859, allocations: 0 / 0.7097 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.1859, allocations: 0 / 0.7097 GB, free: 10.73 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008831/0.1868, allocations: 408.1 kB / 0.7101 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1868, allocations: 12.03 kB / 0.7101 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.266e-05/0.1868, allocations: 192 / 0.7101 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.1869, allocations: 38.75 kB / 0.7101 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.1869, allocations: 12.89 kB / 0.7101 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.187, allocations: 142 kB / 0.7102 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1871, allocations: 4 kB / 0.7103 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.1871, allocations: 11.98 kB / 0.7103 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.1874, allocations: 123.9 kB / 0.7104 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1874, allocations: 0 / 0.7104 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.1874, allocations: 8 kB / 0.7104 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1874, allocations: 0 / 0.7104 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00041/0.1878, allocations: 139.9 kB / 0.7105 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009686/0.1888, allocations: 439.5 kB / 0.7109 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.1891, allocations: 126.3 kB / 0.7111 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.1893, allocations: 64.81 kB / 0.7111 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.1904, allocations: 500 kB / 0.7116 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.1905, allocations: 38.56 kB / 0.7116 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.1905, allocations: 0 / 0.7116 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.000661/0.1911, allocations: 212.8 kB / 0.7118 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.1912, allocations: 55.39 kB / 0.7119 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.1913, allocations: 167.2 kB / 0.7121 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.1914, allocations: 29.7 kB / 0.7121 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.734e-05/0.1914, allocations: 112.4 kB / 0.7122 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/0.1915, allocations: 39.64 kB / 0.7122 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.1916, allocations: 49.7 kB / 0.7123 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1917, allocations: 326.8 kB / 0.7126 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.1919, allocations: 71.94 kB / 0.7127 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.1922, allocations: 113.6 kB / 0.7128 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.1926, allocations: 174.3 kB / 0.7129 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1926, allocations: 0 / 0.7129 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005636/0.1931, allocations: 237.3 kB / 0.7132 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1932, allocations: 4 kB / 0.7132 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/0.1932, allocations: 8.078 kB / 0.7132 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1932, allocations: 4 kB / 0.7132 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.1935, allocations: 59.89 kB / 0.7132 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.1935, allocations: 4 kB / 0.7132 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.1936, allocations: 35.77 kB / 0.7133 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.1937, allocations: 4 kB / 0.7133 GB, free: 6.816 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.0001074/0.1938, allocations: 129.8 kB / 0.7134 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.1938, allocations: 15.84 kB / 0.7134 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004744/0.1943, allocations: 178.9 kB / 0.7136 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1943, allocations: 4 kB / 0.7136 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1943, allocations: 0 / 0.7136 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1943, allocations: 0 / 0.7136 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.1946, allocations: 192.6 kB / 0.7138 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1946, allocations: 0 / 0.7138 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.1947, allocations: 35.97 kB / 0.7138 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1947, allocations: 0 / 0.7138 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.1947, allocations: 0 / 0.7138 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1947, allocations: 0 / 0.7138 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1947, allocations: 3.938 kB / 0.7138 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004929/0.1952, allocations: 267.2 kB / 0.7141 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.1953, allocations: 23.83 kB / 0.7141 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.1953, allocations: 0 / 0.7141 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.1954, allocations: 19.97 kB / 0.7141 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.1955, allocations: 7.984 kB / 0.7141 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.1955, allocations: 4 kB / 0.7141 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.71e-05/0.1956, allocations: 120.9 kB / 0.7142 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1956, allocations: 0 / 0.7142 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003195/0.1959, allocations: 63.88 kB / 0.7143 GB, free: 5.695 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 (12): * Single equations (assignments): 12 * 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.0009506/0.1968, allocations: 0.854 MB / 0.7151 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000499/0.1973, allocations: 156 kB / 0.7153 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1973, allocations: 4 kB / 0.7153 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.1975, allocations: 59.89 kB / 0.7153 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.1979, allocations: 27.98 kB / 0.7154 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.2006, allocations: 1.955 MB / 0.7173 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.2009, allocations: 0.7044 MB / 0.718 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.505e-05/0.201, allocations: 18.72 kB / 0.718 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.102e-05/0.2011, allocations: 39.42 kB / 0.718 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.2011, allocations: 3.938 kB / 0.718 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.2257, allocations: 4.462 MB / 0.7224 GB, free: 13.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.17, allocations: 9.656 kB / 0.7224 GB, free: 13.44 MB / 0.545 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.723287230008282] Failed to read output from testmodel.py, exit status != 0: 11.333561278996058 11.364632008 11.173348424 Calling exit ...