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.00126/0.00126, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001393/0.001393, allocations: 210.1 kB / 23.04 MB, free: 5.074 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8.039 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.8461/0.8461, allocations: 134 MB / 447.2 MB, free: 10.23 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.001944/0.001944, allocations: 62.33 kB / 0.6193 GB, free: 7.281 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1797, allocations: 85.91 MB / 0.7032 GB, free: 1.441 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002361/0.1821, allocations: 1.293 MB / 0.7045 GB, free: 144 kB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.1835, allocations: 0.8497 MB / 0.7053 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.776e-05/0.1835, allocations: 0 / 0.7053 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.1835, allocations: 0 / 0.7053 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.885e-05/0.1836, allocations: 7.922 kB / 0.7053 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.184, allocations: 131.4 kB / 0.7054 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.682e-05/0.1841, allocations: 27.86 kB / 0.7055 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.1841, allocations: 4 kB / 0.7055 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.915e-05/0.1842, allocations: 11.98 kB / 0.7055 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.1842, allocations: 19.92 kB / 0.7055 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.1843, allocations: 0 / 0.7055 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003885/0.1846, allocations: 175.7 kB / 0.7057 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.1847, allocations: 0 / 0.7057 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.66e-05/0.1847, allocations: 11.92 kB / 0.7057 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.1849, allocations: 127.9 kB / 0.7058 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1849, allocations: 0 / 0.7058 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1849, allocations: 0 / 0.7058 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.687e-06/0.1849, allocations: 3.938 kB / 0.7058 GB, free: 14.77 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.0004326/0.1854, allocations: 286.1 kB / 0.7061 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1854, allocations: 8.031 kB / 0.7061 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.2e-05/0.1854, allocations: 192 / 0.7061 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.071e-05/0.1855, allocations: 34.75 kB / 0.7061 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.1855, allocations: 8.875 kB / 0.7061 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.1856, allocations: 114.5 kB / 0.7062 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.322e-05/0.1857, allocations: 55.97 kB / 0.7063 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.1857, allocations: 384 / 0.7063 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1858, allocations: 53.75 kB / 0.7063 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1858, allocations: 0 / 0.7063 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.1859, allocations: 0 / 0.7063 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.1859, allocations: 3.984 kB / 0.7063 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.586e-05/0.186, allocations: 23.92 kB / 0.7064 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.1861, allocations: 120.8 kB / 0.7065 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.1863, allocations: 50.59 kB / 0.7065 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.516e-05/0.1864, allocations: 12.86 kB / 0.7065 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002035/0.1866, allocations: 28.06 kB / 0.7066 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.1866, allocations: 38.5 kB / 0.7066 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1866, allocations: 3.938 kB / 0.7066 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002439/0.1869, allocations: 73.78 kB / 0.7067 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.1869, allocations: 55.41 kB / 0.7067 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/0.187, allocations: 97.84 kB / 0.7068 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.187, allocations: 25.7 kB / 0.7068 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.187, allocations: 84.14 kB / 0.7069 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.1871, allocations: 7.906 kB / 0.7069 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.1871, allocations: 17.72 kB / 0.707 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1872, allocations: 318.8 kB / 0.7073 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.803e-05/0.1873, allocations: 8 kB / 0.7073 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.343e-05/0.1873, allocations: 15.98 kB / 0.7073 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.341e-05/0.1874, allocations: 20.86 kB / 0.7073 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1874, allocations: 3.984 kB / 0.7073 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001386/0.1876, allocations: 61.56 kB / 0.7074 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1876, allocations: 8 kB / 0.7074 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1876, allocations: 0 / 0.7074 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1876, allocations: 0 / 0.7074 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.982e-05/0.1877, allocations: 4 kB / 0.7074 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.1877, allocations: 11.98 kB / 0.7074 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.047e-05/0.1877, allocations: 3.953 kB / 0.7074 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.399e-06/0.1877, allocations: 0 / 0.7074 GB, free: 12.94 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.314e-05/0.1878, allocations: 116 kB / 0.7075 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.1878, allocations: 3.938 kB / 0.7075 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.188, allocations: 73.28 kB / 0.7076 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.188, allocations: 0 / 0.7076 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.188, allocations: 4 kB / 0.7076 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.188, allocations: 0 / 0.7076 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.1881, allocations: 132.7 kB / 0.7077 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1881, allocations: 4 kB / 0.7077 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.1882, allocations: 11.92 kB / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1882, allocations: 0 / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1882, allocations: 4 kB / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1882, allocations: 3.938 kB / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1882, allocations: 0 / 0.7077 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.1884, allocations: 93 kB / 0.7078 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.1884, allocations: 7.938 kB / 0.7078 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1884, allocations: 7.938 kB / 0.7078 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.485e-05/0.1884, allocations: 0 / 0.7078 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.1885, allocations: 3.984 kB / 0.7078 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1885, allocations: 4.422 kB / 0.7078 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.492e-05/0.1885, allocations: 79.27 kB / 0.7079 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1885, allocations: 4 kB / 0.7079 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002484/0.1888, allocations: 43.86 kB / 0.708 GB, free: 12.28 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.0006312/0.1894, allocations: 0.6435 MB / 0.7086 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001618/0.1896, allocations: 39.91 kB / 0.7086 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1896, allocations: 4 kB / 0.7086 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.17e-05/0.1896, allocations: 8 kB / 0.7086 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.1899, allocations: 14.48 kB / 0.7087 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.1903, allocations: 173 kB / 0.7088 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.1906, allocations: 0.6766 MB / 0.7095 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.997e-05/0.1907, allocations: 8 kB / 0.7095 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.1907, allocations: 11.42 kB / 0.7095 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1907, allocations: 0 / 0.7095 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02779/0.2185, allocations: 2.139 MB / 0.7116 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.25, allocations: 3.281 kB / 0.7116 GB, free: 8.621 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 os._exit(0), Time elapsed: 14.869913514936343] Failed to read output from testmodel.py, exit status != 0: 11.406157310004346 11.422031344 11.234037479 Calling exit ...