Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.001783/0.001783, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002088/0.002088, allocations: 216.8 kB / 22.25 MB, free: 4.855 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.471/1.471, allocations: 230.6 MB / 256 MB, free: 7.797 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.8646/0.8646, allocations: 134 MB / 446.4 MB, free: 9.957 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.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",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.002022/0.002022, allocations: 67.81 kB / 0.6185 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2037, allocations: 85.91 MB / 0.7024 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002988/0.2066, allocations: 1.284 MB / 0.7036 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.2082, allocations: 0.7796 MB / 0.7044 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.2082, allocations: 0 / 0.7044 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.2083, allocations: 3.938 kB / 0.7044 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.785e-05/0.2083, allocations: 3.938 kB / 0.7044 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000636/0.2089, allocations: 135.5 kB / 0.7045 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.902e-05/0.209, allocations: 23.88 kB / 0.7046 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.308e-05/0.2091, allocations: 7.969 kB / 0.7046 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.977e-05/0.2091, allocations: 12 kB / 0.7046 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.2092, allocations: 11.92 kB / 0.7046 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.2092, allocations: 0 / 0.7046 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003989/0.2096, allocations: 163.7 kB / 0.7047 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.2097, allocations: 4 kB / 0.7047 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.2097, allocations: 15.92 kB / 0.7048 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.21, allocations: 115.9 kB / 0.7049 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.21, allocations: 4 kB / 0.7049 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.894e-06/0.21, allocations: 0 / 0.7049 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.21, allocations: 0 / 0.7049 GB, free: 14.52 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005382/0.2106, allocations: 286.1 kB / 0.7051 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.2106, allocations: 12.03 kB / 0.7052 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.2106, allocations: 30.75 kB / 0.7052 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.348e-05/0.2107, allocations: 12.89 kB / 0.7052 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.2108, allocations: 110.5 kB / 0.7053 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.2109, allocations: 55.97 kB / 0.7054 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.2109, allocations: 8.375 kB / 0.7054 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.2111, allocations: 75.64 kB / 0.7054 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2111, allocations: 0 / 0.7054 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2112, allocations: 4 kB / 0.7054 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2112, allocations: 0 / 0.7054 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.2113, allocations: 11.98 kB / 0.7055 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.2115, allocations: 132.8 kB / 0.7056 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.2117, allocations: 42.55 kB / 0.7056 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.711e-05/0.2118, allocations: 20.94 kB / 0.7056 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002434/0.212, allocations: 23.98 kB / 0.7057 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.2121, allocations: 46.42 kB / 0.7057 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.2121, allocations: 0 / 0.7057 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002937/0.2124, allocations: 65.61 kB / 0.7058 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.2125, allocations: 55.41 kB / 0.7058 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.285e-05/0.2125, allocations: 98.05 kB / 0.7059 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.2126, allocations: 25.7 kB / 0.7059 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.2126, allocations: 84.14 kB / 0.706 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.2126, allocations: 11.91 kB / 0.706 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.2127, allocations: 17.7 kB / 0.706 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.2129, allocations: 318.8 kB / 0.7064 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.133e-05/0.2129, allocations: 4 kB / 0.7064 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.852e-05/0.213, allocations: 16.11 kB / 0.7064 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.2131, allocations: 32.92 kB / 0.7064 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2131, allocations: 0 / 0.7064 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001606/0.2133, allocations: 49.69 kB / 0.7064 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.2133, allocations: 15.94 kB / 0.7065 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2133, allocations: 0 / 0.7065 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2133, allocations: 0 / 0.7065 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.529e-05/0.2134, allocations: 15.98 kB / 0.7065 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.2134, allocations: 0 / 0.7065 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.433e-05/0.2134, allocations: 3.953 kB / 0.7065 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.2134, allocations: 0 / 0.7065 GB, free: 12.65 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 (4): * Single equations (assignments): 4 * 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.977e-05/0.2135, allocations: 113.8 kB / 0.7066 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.2135, allocations: 3.938 kB / 0.7066 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.2137, allocations: 73.34 kB / 0.7067 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2137, allocations: 0 / 0.7067 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2137, allocations: 0 / 0.7067 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2137, allocations: 0 / 0.7067 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.2139, allocations: 132.7 kB / 0.7068 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2139, allocations: 0 / 0.7068 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.243e-05/0.2139, allocations: 11.98 kB / 0.7068 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.394e-05/0.2139, allocations: 3.938 kB / 0.7068 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.2139, allocations: 0 / 0.7068 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2139, allocations: 3.938 kB / 0.7068 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/0.214, allocations: 7.938 kB / 0.7068 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000186/0.2141, allocations: 89.06 kB / 0.7069 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.2142, allocations: 7.938 kB / 0.7069 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.2142, allocations: 0 / 0.7069 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.046e-05/0.2142, allocations: 7.984 kB / 0.7069 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.796e-05/0.2143, allocations: 4 kB / 0.7069 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.2143, allocations: 0 / 0.7069 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.425e-05/0.2143, allocations: 79.28 kB / 0.707 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2143, allocations: 0 / 0.707 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000252/0.2146, allocations: 39.86 kB / 0.707 GB, free: 12 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 (4): * Single equations (assignments): 4 * 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.0006704/0.2153, allocations: 0.6629 MB / 0.7077 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001598/0.2154, allocations: 24.31 kB / 0.7077 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.2154, allocations: 4 kB / 0.7077 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.59e-05/0.2155, allocations: 16.03 kB / 0.7077 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.2158, allocations: 10.02 kB / 0.7077 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.2163, allocations: 181.2 kB / 0.7079 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.14e-05/0.2163, allocations: 63.22 kB / 0.708 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.316e-05/0.2164, allocations: 7.984 kB / 0.708 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.2164, allocations: 15.36 kB / 0.708 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of SimCode: time 3.61e-07/0.2164, allocations: 0 / 0.708 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.246, allocations: 2.514 MB / 0.7104 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.21, allocations: 2.812 kB / 0.7104 GB, free: 8.555 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.871676828246564] Failed to read output from testmodel.py, exit status != 0: 11.319179576355964 11.34894202 11.133509753 Calling exit ...