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.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.001683/0.001683, allocations: 106.6 kB / 16.45 MB, free: 6.504 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.001911/0.001911, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.498/1.498, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.8928/0.8928, allocations: 134 MB / 436.6 MB, free: 1.246 MB / 334.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.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(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: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 69.39 kB / 0.6051 GB, free: 15.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1758, allocations: 84.67 MB / 0.6878 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002427/0.1782, allocations: 1.277 MB / 0.689 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1797, allocations: 0.8345 MB / 0.6899 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.1797, allocations: 0 / 0.6899 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.1797, allocations: 0 / 0.6899 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.1798, allocations: 11.91 kB / 0.6899 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.1804, allocations: 127.4 kB / 0.69 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.916e-05/0.1805, allocations: 27.92 kB / 0.69 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.1805, allocations: 4 kB / 0.69 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.283e-05/0.1806, allocations: 19.91 kB / 0.69 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.939e-05/0.1807, allocations: 11.98 kB / 0.6901 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1807, allocations: 3.938 kB / 0.6901 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.181, allocations: 159.7 kB / 0.6902 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.1811, allocations: 11.98 kB / 0.6902 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.1811, allocations: 11.94 kB / 0.6902 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.1813, allocations: 120 kB / 0.6903 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1813, allocations: 0 / 0.6903 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1813, allocations: 0 / 0.6903 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.1814, allocations: 4 kB / 0.6903 GB, free: 8.473 MB / 0.5137 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.000532/0.1819, allocations: 367.1 kB / 0.6907 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.1819, allocations: 8.031 kB / 0.6907 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.797e-05/0.182, allocations: 34.75 kB / 0.6907 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.915e-05/0.182, allocations: 8.938 kB / 0.6907 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.1822, allocations: 164.3 kB / 0.6909 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.622e-05/0.1823, allocations: 34.25 kB / 0.6909 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.1823, allocations: 384 / 0.6909 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1825, allocations: 54 kB / 0.691 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/0.1825, allocations: 3.938 kB / 0.691 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1825, allocations: 0 / 0.691 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1825, allocations: 0 / 0.691 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.956e-05/0.1826, allocations: 19.98 kB / 0.691 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.1828, allocations: 157.6 kB / 0.6912 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.183, allocations: 46.55 kB / 0.6912 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.11e-05/0.1831, allocations: 20.94 kB / 0.6912 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003255/0.1834, allocations: 182.2 kB / 0.6914 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.1834, allocations: 34.5 kB / 0.6914 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.093e-06/0.1834, allocations: 0 / 0.6914 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4): time 0.0002646/0.1837, allocations: 65.67 kB / 0.6915 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.1837, allocations: 59.34 kB / 0.6916 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.351e-05/0.1838, allocations: 94.05 kB / 0.6916 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1838, allocations: 29.7 kB / 0.6917 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/0.1839, allocations: 80.14 kB / 0.6917 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.1839, allocations: 19.83 kB / 0.6918 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.1839, allocations: 13.72 kB / 0.6918 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1841, allocations: 314.8 kB / 0.6921 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.283e-05/0.1841, allocations: 11.98 kB / 0.6921 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.024e-05/0.1842, allocations: 12.19 kB / 0.6921 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.531e-05/0.1843, allocations: 32.86 kB / 0.6921 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1843, allocations: 0 / 0.6921 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001341/0.1844, allocations: 61.61 kB / 0.6922 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.1844, allocations: 11.94 kB / 0.6922 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.1844, allocations: 3.984 kB / 0.6922 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1844, allocations: 0 / 0.6922 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.341e-05/0.1845, allocations: 8 kB / 0.6922 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1845, allocations: 4 kB / 0.6922 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.816e-05/0.1845, allocations: 0 / 0.6922 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.1845, allocations: 0 / 0.6922 GB, free: 6.277 MB / 0.5137 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.049e-05/0.1846, allocations: 119.4 kB / 0.6923 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.1847, allocations: 7.891 kB / 0.6923 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.1849, allocations: 65.17 kB / 0.6924 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1849, allocations: 0 / 0.6924 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1849, allocations: 7.938 kB / 0.6924 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1849, allocations: 0 / 0.6924 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.185, allocations: 157.7 kB / 0.6926 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.185, allocations: 0 / 0.6926 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.444e-05/0.185, allocations: 4 kB / 0.6926 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.185, allocations: 7.922 kB / 0.6926 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1851, allocations: 4 kB / 0.6926 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1851, allocations: 0 / 0.6926 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.1851, allocations: 7.938 kB / 0.6926 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.1852, allocations: 81.12 kB / 0.6927 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.169e-05/0.1853, allocations: 89.03 kB / 0.6927 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.1853, allocations: 0 / 0.6927 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.587e-05/0.1853, allocations: 4 kB / 0.6928 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.1854, allocations: 3.984 kB / 0.6928 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.1854, allocations: 4 kB / 0.6928 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.229e-05/0.1854, allocations: 79.22 kB / 0.6928 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1854, allocations: 0 / 0.6928 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002294/0.1857, allocations: 39.81 kB / 0.6929 GB, free: 5.5 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 (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.000593/0.1863, allocations: 0.6668 MB / 0.6935 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.1864, allocations: 28.25 kB / 0.6935 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1864, allocations: 4 kB / 0.6936 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.425e-05/0.1865, allocations: 20.08 kB / 0.6936 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.1867, allocations: 7.406 kB / 0.6936 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.1872, allocations: 168.6 kB / 0.6937 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.1875, allocations: 0.6807 MB / 0.6944 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.11e-05/0.1876, allocations: 4 kB / 0.6944 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.1876, allocations: 11.44 kB / 0.6944 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.1876, allocations: 0 / 0.6944 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.2121, allocations: 1.948 MB / 0.6963 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.918/8.13, allocations: 0 / 0.6963 GB, free: 2.012 MB / 0.5137 GB " [Timeout remaining time 652] (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: 11.797003300860524] Failed to read output from testmodel.py, exit status != 0: 8.197142240125686 8.212510313 8.028407884 Calling exit ...