Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001627/0.001627, allocations: 105 kB / 20.48 MB, free: 1.488 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.00238/0.00238, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.423/1.423, allocations: 230.6 MB / 257.6 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9353/0.9353, allocations: 150 MB / 464 MB, free: 10.52 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002129/0.002129, allocations: 62.62 kB / 0.642 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1841, allocations: 89.17 MB / 0.7291 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006817/0.1909, allocations: 4.669 MB / 0.7337 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1921, allocations: 0.8178 MB / 0.7345 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.368e-05/0.1921, allocations: 4 kB / 0.7345 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.1923, allocations: 35.77 kB / 0.7345 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.86e-05/0.1924, allocations: 31.7 kB / 0.7345 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005734/0.1929, allocations: 171.4 kB / 0.7347 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.1932, allocations: 179.4 kB / 0.7349 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.826e-05/0.1933, allocations: 9.312 kB / 0.7349 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.1935, allocations: 87.67 kB / 0.735 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.1936, allocations: 75.69 kB / 0.735 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.1936, allocations: 12 kB / 0.7351 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003719/0.194, allocations: 163.8 kB / 0.7352 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.337e-05/0.194, allocations: 27.91 kB / 0.7352 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.412e-05/0.1941, allocations: 67.66 kB / 0.7353 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003742/0.1945, allocations: 243.5 kB / 0.7355 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1945, allocations: 4 kB / 0.7355 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1945, allocations: 3.938 kB / 0.7355 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.1945, allocations: 0 / 0.7355 GB, free: 10.71 MB / 0.5606 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.0008733/0.1954, allocations: 409.4 kB / 0.7359 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.1954, allocations: 12.03 kB / 0.7359 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.798e-05/0.1954, allocations: 4.188 kB / 0.7359 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.631e-05/0.1955, allocations: 38.73 kB / 0.736 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.1955, allocations: 16.84 kB / 0.736 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.1956, allocations: 126.2 kB / 0.7361 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1957, allocations: 11.91 kB / 0.7361 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.1957, allocations: 19.98 kB / 0.7362 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.196, allocations: 121.5 kB / 0.7363 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.196, allocations: 4 kB / 0.7363 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.196, allocations: 4 kB / 0.7363 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1961, allocations: 0 / 0.7363 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.1965, allocations: 139.9 kB / 0.7364 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.1975, allocations: 435.5 kB / 0.7368 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/0.1978, allocations: 114.5 kB / 0.7369 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.198, allocations: 76.73 kB / 0.737 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001188/0.1992, allocations: 0.4921 MB / 0.7375 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1992, allocations: 30.56 kB / 0.7375 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.1992, allocations: 0 / 0.7375 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12): time 0.0006906/0.1999, allocations: 209.5 kB / 0.7377 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.2, allocations: 55.34 kB / 0.7378 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.2001, allocations: 167.3 kB / 0.7379 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.2001, allocations: 33.64 kB / 0.738 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/0.2002, allocations: 112.4 kB / 0.7381 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.259e-05/0.2003, allocations: 43.69 kB / 0.7381 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.2004, allocations: 49.69 kB / 0.7382 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.2005, allocations: 322.8 kB / 0.7385 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.2008, allocations: 71.95 kB / 0.7385 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.201, allocations: 118.6 kB / 0.7386 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.2015, allocations: 166.3 kB / 0.7388 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2015, allocations: 4 kB / 0.7388 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005912/0.2021, allocations: 245.2 kB / 0.739 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.2021, allocations: 8 kB / 0.7391 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.2021, allocations: 0 / 0.7391 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.2021, allocations: 0 / 0.7391 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002732/0.2024, allocations: 63.98 kB / 0.7391 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2024, allocations: 3.984 kB / 0.7391 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.2025, allocations: 31.83 kB / 0.7391 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.2026, allocations: 12 kB / 0.7392 GB, free: 6.77 MB / 0.5606 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.0001203/0.2027, allocations: 125.8 kB / 0.7393 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.2027, allocations: 15.84 kB / 0.7393 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005039/0.2032, allocations: 184.1 kB / 0.7395 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2032, allocations: 0 / 0.7395 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2032, allocations: 0 / 0.7395 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2032, allocations: 3.938 kB / 0.7395 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.2035, allocations: 184.6 kB / 0.7396 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.2035, allocations: 7.984 kB / 0.7397 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.2036, allocations: 27.98 kB / 0.7397 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2036, allocations: 0 / 0.7397 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.2036, allocations: 4 kB / 0.7397 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2036, allocations: 4 kB / 0.7397 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2036, allocations: 3.984 kB / 0.7397 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004731/0.2041, allocations: 259.2 kB / 0.7399 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.2042, allocations: 31.83 kB / 0.74 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.2042, allocations: 11.94 kB / 0.74 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.2043, allocations: 7.984 kB / 0.74 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.2044, allocations: 11.98 kB / 0.74 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.2044, allocations: 7.984 kB / 0.74 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.938e-05/0.2045, allocations: 112 kB / 0.7401 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2045, allocations: 0 / 0.7401 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003385/0.2048, allocations: 59.86 kB / 0.7402 GB, free: 5.656 MB / 0.5606 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.001042/0.2059, allocations: 0.85 MB / 0.741 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005328/0.2064, allocations: 174.2 kB / 0.7412 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2064, allocations: 0 / 0.7412 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.2066, allocations: 68.08 kB / 0.7412 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.207, allocations: 19.98 kB / 0.7413 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.2097, allocations: 1.949 MB / 0.7432 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.2101, allocations: 0.7083 MB / 0.7438 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.4e-05/0.2102, allocations: 20.14 kB / 0.7439 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.192e-05/0.2103, allocations: 39.42 kB / 0.7439 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of SimCode: time 6.92e-07/0.2103, allocations: 0 / 0.7439 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.2351, allocations: 4.482 MB / 0.7483 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.22, allocations: 2.953 kB / 0.7483 GB, free: 13.39 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.281831916014198] Failed to read output from testmodel.py, exit status != 0: 11.380739764950704 11.699469861 11.206001831 Calling exit ...