Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.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.001844/0.001844, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002351/0.002351, allocations: 215.4 kB / 23.03 MB, free: 4.922 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.8475/0.8475, allocations: 134 MB / 447.2 MB, free: 9.949 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.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_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.001925/0.001925, allocations: 62.8 kB / 0.6192 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1719, allocations: 85.91 MB / 0.7031 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002669/0.1746, allocations: 1.503 MB / 0.7046 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1759, allocations: 0.7409 MB / 0.7053 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.1759, allocations: 4 kB / 0.7053 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.739e-05/0.176, allocations: 7.922 kB / 0.7053 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.868e-05/0.176, allocations: 11.88 kB / 0.7053 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.1764, allocations: 127.5 kB / 0.7055 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.957e-05/0.1765, allocations: 55.8 kB / 0.7055 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1766, allocations: 19.91 kB / 0.7055 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.26e-05/0.1767, allocations: 19.92 kB / 0.7056 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.57e-05/0.1767, allocations: 23.86 kB / 0.7056 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1768, allocations: 4 kB / 0.7056 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.1771, allocations: 171.8 kB / 0.7057 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.237e-05/0.1771, allocations: 11.98 kB / 0.7058 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.1772, allocations: 11.94 kB / 0.7058 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.1775, allocations: 155.5 kB / 0.7059 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1775, allocations: 0 / 0.7059 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1775, allocations: 0 / 0.7059 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.1775, allocations: 0 / 0.7059 GB, free: 14.2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005978/0.1781, allocations: 329.8 kB / 0.7062 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1781, allocations: 8.031 kB / 0.7062 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.701e-05/0.1781, allocations: 4.188 kB / 0.7062 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/0.1782, allocations: 34.75 kB / 0.7063 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/0.1782, allocations: 4.891 kB / 0.7063 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.1783, allocations: 114.5 kB / 0.7064 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1784, allocations: 4.375 kB / 0.7064 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.1784, allocations: 4.312 kB / 0.7064 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.1786, allocations: 77.95 kB / 0.7065 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1786, allocations: 0 / 0.7065 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.1787, allocations: 4 kB / 0.7065 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1787, allocations: 4 kB / 0.7065 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.179, allocations: 67.92 kB / 0.7065 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/0.1794, allocations: 259.8 kB / 0.7068 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.1796, allocations: 50.53 kB / 0.7068 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.1798, allocations: 44.92 kB / 0.7069 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001531/0.1799, allocations: 11.98 kB / 0.7069 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.18, allocations: 34.56 kB / 0.7069 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 9.51e-07/0.18, allocations: 0 / 0.7069 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.000522/0.1805, allocations: 133.7 kB / 0.7071 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.1805, allocations: 51.41 kB / 0.7071 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.1807, allocations: 127.3 kB / 0.7072 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1807, allocations: 25.7 kB / 0.7073 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.108e-05/0.1807, allocations: 96.08 kB / 0.7073 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.1808, allocations: 7.953 kB / 0.7074 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.1808, allocations: 13.72 kB / 0.7074 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1809, allocations: 318.8 kB / 0.7077 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.1811, allocations: 31.95 kB / 0.7077 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.1812, allocations: 39.94 kB / 0.7077 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.1815, allocations: 68.78 kB / 0.7078 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1815, allocations: 0 / 0.7078 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003021/0.1818, allocations: 109.5 kB / 0.7079 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1818, allocations: 4 kB / 0.7079 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1818, allocations: 0 / 0.7079 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1818, allocations: 0 / 0.7079 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1819, allocations: 19.97 kB / 0.7079 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1819, allocations: 0 / 0.7079 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.182, allocations: 11.98 kB / 0.7079 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-06/0.182, allocations: 0 / 0.7079 GB, free: 11.93 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 (3): * Single equations (assignments): 3 * 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.626e-05/0.1821, allocations: 121.8 kB / 0.7081 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.1821, allocations: 7.953 kB / 0.7081 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.1825, allocations: 105.5 kB / 0.7082 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.1825, allocations: 3.984 kB / 0.7082 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1825, allocations: 0 / 0.7082 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1825, allocations: 0 / 0.7082 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.1827, allocations: 136.7 kB / 0.7083 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1827, allocations: 4 kB / 0.7083 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.319e-05/0.1828, allocations: 19.98 kB / 0.7083 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1828, allocations: 0 / 0.7083 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.1828, allocations: 0 / 0.7083 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.1828, allocations: 3.984 kB / 0.7083 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1828, allocations: 0 / 0.7083 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.1831, allocations: 195.4 kB / 0.7085 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.1831, allocations: 15.89 kB / 0.7085 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.1832, allocations: 0 / 0.7085 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.1833, allocations: 15.97 kB / 0.7085 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.1833, allocations: 4 kB / 0.7085 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.1833, allocations: 3.938 kB / 0.7086 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.506e-05/0.1834, allocations: 95.27 kB / 0.7086 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1834, allocations: 0 / 0.7086 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002707/0.1836, allocations: 35.88 kB / 0.7087 GB, free: 11.09 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 (3): * Single equations (assignments): 3 * 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.0008133/0.1845, allocations: 0.7669 MB / 0.7094 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00032/0.1848, allocations: 72.14 kB / 0.7095 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1848, allocations: 0 / 0.7095 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.1849, allocations: 35.97 kB / 0.7095 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.1853, allocations: 19.61 kB / 0.7095 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.1871, allocations: 1.426 MB / 0.7109 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.271e-05/0.1872, allocations: 75.2 kB / 0.711 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.1872, allocations: 7.984 kB / 0.711 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.031e-05/0.1873, allocations: 15.44 kB / 0.711 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.1873, allocations: 4 kB / 0.711 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03323/0.2205, allocations: 2.737 MB / 0.7137 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.29, allocations: 10.12 kB / 0.7137 GB, free: 5.969 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Phi_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.977902957005426] Failed to read output from testmodel.py, exit status != 0: 11.451087607070804 11.477475794 11.295163352 Calling exit ...