Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.001408/0.001408, 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.001459/0.001459, allocations: 216.5 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.8759/0.8759, 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.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure",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.001936/0.001936, allocations: 68.47 kB / 0.6193 GB, free: 7.367 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.192, allocations: 85.91 MB / 0.7032 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003505/0.1955, allocations: 1.699 MB / 0.7049 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008255/0.1963, allocations: 418.6 kB / 0.7053 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.137e-05/0.1964, allocations: 0 / 0.7053 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.1965, allocations: 15.86 kB / 0.7053 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.296e-05/0.1966, allocations: 15.8 kB / 0.7053 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004403/0.197, allocations: 127.6 kB / 0.7054 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.1973, allocations: 103.6 kB / 0.7055 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.1974, allocations: 32.19 kB / 0.7055 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.03e-05/0.1975, allocations: 39.91 kB / 0.7056 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.398e-05/0.1976, allocations: 43.78 kB / 0.7056 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.1976, allocations: 8 kB / 0.7056 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.1977, allocations: 59.95 kB / 0.7057 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.978e-05/0.1978, allocations: 19.92 kB / 0.7057 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/0.1978, allocations: 47.78 kB / 0.7057 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.1981, allocations: 135.5 kB / 0.7059 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1981, allocations: 4 kB / 0.7059 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.133e-06/0.1981, allocations: 0 / 0.7059 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.1981, allocations: 0 / 0.7059 GB, free: 14.79 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.0006659/0.1988, allocations: 345.8 kB / 0.7062 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1988, allocations: 8.031 kB / 0.7062 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.76e-05/0.1988, allocations: 4.188 kB / 0.7062 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.26e-05/0.1989, allocations: 38.75 kB / 0.7063 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.1991, allocations: 32.81 kB / 0.7063 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1993, allocations: 141.5 kB / 0.7064 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-05/0.1994, allocations: 63.91 kB / 0.7065 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.1994, allocations: 8.375 kB / 0.7065 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.1997, allocations: 105.8 kB / 0.7066 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.1997, allocations: 4 kB / 0.7066 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1997, allocations: 0 / 0.7066 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.1997, allocations: 3.984 kB / 0.7066 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.2, allocations: 79.94 kB / 0.7067 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006913/0.2007, allocations: 359.5 kB / 0.707 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005288/0.2012, allocations: 122.6 kB / 0.7071 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.2013, allocations: 44.81 kB / 0.7072 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.2013, allocations: 0 / 0.7072 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.2014, allocations: 38.56 kB / 0.7072 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.2014, allocations: 0 / 0.7072 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0004219/0.2018, allocations: 133.6 kB / 0.7073 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.2018, allocations: 55.34 kB / 0.7074 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.202, allocations: 143.7 kB / 0.7075 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.202, allocations: 25.7 kB / 0.7076 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.202, allocations: 100.1 kB / 0.7077 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.2021, allocations: 27.78 kB / 0.7077 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.2021, allocations: 21.66 kB / 0.7077 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.2023, allocations: 322.8 kB / 0.708 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.2024, allocations: 35.91 kB / 0.708 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.2025, allocations: 38.02 kB / 0.7081 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.2027, allocations: 89.95 kB / 0.7082 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2027, allocations: 0 / 0.7082 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002763/0.203, allocations: 117.5 kB / 0.7083 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.203, allocations: 7.938 kB / 0.7083 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.203, allocations: 0 / 0.7083 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.203, allocations: 7.969 kB / 0.7083 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.2031, allocations: 23.98 kB / 0.7083 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2031, allocations: 0 / 0.7083 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.553e-05/0.2032, allocations: 7.984 kB / 0.7083 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.2032, allocations: 4 kB / 0.7083 GB, free: 12.06 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.033e-05/0.2033, allocations: 117.8 kB / 0.7084 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.2033, allocations: 7.953 kB / 0.7084 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.2034, allocations: 20.64 kB / 0.7085 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2034, allocations: 8 kB / 0.7085 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2034, allocations: 0 / 0.7085 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2034, allocations: 0 / 0.7085 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.2036, allocations: 172.6 kB / 0.7086 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2036, allocations: 0 / 0.7086 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.2037, allocations: 19.98 kB / 0.7087 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2037, allocations: 0 / 0.7087 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.2037, allocations: 3.938 kB / 0.7087 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2037, allocations: 0 / 0.7087 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2037, allocations: 0 / 0.7087 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.204, allocations: 211.4 kB / 0.7089 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.204, allocations: 7.953 kB / 0.7089 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.2041, allocations: 3.938 kB / 0.7089 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.2042, allocations: 15.98 kB / 0.7089 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.2043, allocations: 3.984 kB / 0.7089 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.2043, allocations: 4 kB / 0.7089 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.485e-05/0.2043, allocations: 111.2 kB / 0.709 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2043, allocations: 0 / 0.709 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000237/0.2046, allocations: 16 kB / 0.709 GB, free: 11.29 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 (7): * Single equations (assignments): 7 * 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.0006205/0.2052, allocations: 0.7242 MB / 0.7097 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002715/0.2055, allocations: 87.8 kB / 0.7098 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2055, allocations: 0 / 0.7098 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.2056, allocations: 39.92 kB / 0.7098 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.2059, allocations: 26.64 kB / 0.7099 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.2079, allocations: 1.555 MB / 0.7114 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.2083, allocations: 0.6963 MB / 0.7121 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.913e-05/0.2084, allocations: 12.66 kB / 0.7121 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.2084, allocations: 27.42 kB / 0.7121 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.2084, allocations: 4 kB / 0.7121 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.2304, allocations: 2.896 MB / 0.7149 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.41, allocations: 12.56 kB / 0.715 GB, free: 5.242 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_HumidityRatioPressure.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.205330369994044] Failed to read output from testmodel.py, exit status != 0: 11.580218249000609 11.608401925 11.405598973 Calling exit ...