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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 117.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8484/0.8484, allocations: 129.2 MB / 432.5 MB, free: 13.14 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 71.89 kB / 0.5987 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3976, allocations: 83.44 MB / 0.6802 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004891/0.4025, allocations: 4.574 MB / 0.6847 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008247/0.4033, allocations: 0.8271 MB / 0.6855 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.274e-05/0.4034, allocations: 1.312 kB / 0.6855 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.4036, allocations: 29.39 kB / 0.6855 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.471e-05/0.4036, allocations: 35.8 kB / 0.6855 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.404, allocations: 168.4 kB / 0.6857 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.4042, allocations: 179 kB / 0.6859 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.998e-05/0.4043, allocations: 10.34 kB / 0.6859 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.4044, allocations: 88.75 kB / 0.686 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.817e-05/0.4045, allocations: 76.89 kB / 0.686 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.4045, allocations: 12.12 kB / 0.686 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002761/0.4048, allocations: 153.8 kB / 0.6862 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.4048, allocations: 33.03 kB / 0.6862 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.4049, allocations: 71.61 kB / 0.6863 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.4052, allocations: 239.1 kB / 0.6865 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4052, allocations: 3.938 kB / 0.6865 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4052, allocations: 1.156 kB / 0.6865 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.4052, allocations: 0 / 0.6865 GB, free: 0.9336 MB / 0.4981 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.0007418/0.4059, allocations: 483 kB / 0.687 GB, free: 492 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.406, allocations: 9.969 kB / 0.687 GB, free: 492 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.406, allocations: 45.3 kB / 0.687 GB, free: 440 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.406, allocations: 15.28 kB / 0.687 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.4061, allocations: 182.7 kB / 0.6872 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.4061, allocations: 12.28 kB / 0.6872 GB, free: 212 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.4062, allocations: 12.06 kB / 0.6872 GB, free: 208 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.4064, allocations: 119.3 kB / 0.6874 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4065, allocations: 1.688 kB / 0.6874 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.4065, allocations: 8 kB / 0.6874 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.4065, allocations: 1.375 kB / 0.6874 GB, free: 116 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003521/0.4068, allocations: 140.5 kB / 0.6875 GB, free: 52 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009798/0.4078, allocations: 465.7 kB / 0.6879 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.4081, allocations: 123.9 kB / 0.6881 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.4083, allocations: 69.47 kB / 0.6881 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/0.4097, allocations: 0.9677 MB / 0.6891 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.4097, allocations: 31.41 kB / 0.6891 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.4097, allocations: 0 / 0.6891 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0006333/0.4103, allocations: 211 kB / 0.6893 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.4104, allocations: 60.41 kB / 0.6894 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.4105, allocations: 166.2 kB / 0.6895 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.4106, allocations: 31.2 kB / 0.6896 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.833e-05/0.4106, allocations: 112.4 kB / 0.6897 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.4107, allocations: 40.48 kB / 0.6897 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-05/0.4108, allocations: 47.89 kB / 0.6897 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4109, allocations: 322.2 kB / 0.69 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.4111, allocations: 80.38 kB / 0.6901 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.4113, allocations: 108.1 kB / 0.6902 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/0.4117, allocations: 169.6 kB / 0.6904 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4117, allocations: 1.094 kB / 0.6904 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005527/0.4123, allocations: 243.4 kB / 0.6906 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.4123, allocations: 12.86 kB / 0.6906 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4123, allocations: 1.312 kB / 0.6906 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.4123, allocations: 2.125 kB / 0.6906 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.4126, allocations: 52.75 kB / 0.6907 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.4126, allocations: 2.25 kB / 0.6907 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.4127, allocations: 35.42 kB / 0.6907 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.4128, allocations: 13.23 kB / 0.6907 GB, free: 13.23 MB / 0.5137 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.0001069/0.4129, allocations: 128.5 kB / 0.6909 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.4129, allocations: 13.7 kB / 0.6909 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004472/0.4134, allocations: 175.6 kB / 0.691 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.4134, allocations: 1.969 kB / 0.691 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4134, allocations: 0 / 0.691 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4134, allocations: 1.031 kB / 0.691 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.4136, allocations: 222.2 kB / 0.6913 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4136, allocations: 3.938 kB / 0.6913 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.4138, allocations: 33.94 kB / 0.6913 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4138, allocations: 1.438 kB / 0.6913 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.4138, allocations: 0 / 0.6913 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4138, allocations: 1.344 kB / 0.6913 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4138, allocations: 0 / 0.6913 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004311/0.4142, allocations: 256.2 kB / 0.6915 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.202e-05/0.4143, allocations: 102.6 kB / 0.6916 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.4143, allocations: 9.125 kB / 0.6916 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/0.4144, allocations: 14.67 kB / 0.6917 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.4145, allocations: 12.58 kB / 0.6917 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.4145, allocations: 2.25 kB / 0.6917 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.743e-05/0.4146, allocations: 120.5 kB / 0.6918 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4146, allocations: 0 / 0.6918 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003404/0.4149, allocations: 64.61 kB / 0.6919 GB, free: 12.28 MB / 0.5137 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.0008991/0.4158, allocations: 0.8483 MB / 0.6927 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000484/0.4163, allocations: 169.5 kB / 0.6928 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4163, allocations: 0 / 0.6928 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.4165, allocations: 63.22 kB / 0.6929 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.4169, allocations: 21.83 kB / 0.6929 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002629/0.4195, allocations: 1.951 MB / 0.6948 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.4198, allocations: 0.7061 MB / 0.6955 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.4199, allocations: 25.2 kB / 0.6955 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.42, allocations: 35.48 kB / 0.6956 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.42, allocations: 0 / 0.6956 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.4464, allocations: 4.293 MB / 0.6998 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.521, allocations: 17.02 kB / 0.6998 GB, free: 6.855 MB / 0.5137 GB " [Timeout remaining time 651] (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 sys.exit(0), Time elapsed: 11.855066954158247] Failed to read output from testmodel.py, exit status != 0: 8.593307742848992 8.621144938 8.210796158 Calling exit ...