Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.001638/0.001638, allocations: 106.2 kB / 16.4 MB, free: 6.496 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.001927/0.001927, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.485/1.485, allocations: 222.9 MB / 245.1 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.086/1.086, allocations: 173.4 MB / 470.7 MB, free: 13.62 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.17 kB / 0.6478 GB, free: 11.78 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2165, allocations: 89.52 MB / 0.7352 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.00302/0.2196, allocations: 1.639 MB / 0.7368 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6339/0.8535, allocations: 151.6 MB / 0.8848 GB, free: 8.48 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.8537, allocations: 0 / 0.8848 GB, free: 8.48 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.8538, allocations: 15.8 kB / 0.8849 GB, free: 8.465 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.8541, allocations: 43.72 kB / 0.8849 GB, free: 8.422 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.8545, allocations: 155.3 kB / 0.885 GB, free: 8.27 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.8547, allocations: 123.6 kB / 0.8852 GB, free: 8.148 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.8549, allocations: 29.95 kB / 0.8852 GB, free: 8.117 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001266/0.8561, allocations: 161 kB / 0.8853 GB, free: 7.992 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 8.717e-05/0.8562, allocations: 51.77 kB / 0.8854 GB, free: 7.941 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.8563, allocations: 8 kB / 0.8854 GB, free: 7.934 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004187/0.8567, allocations: 175.7 kB / 0.8856 GB, free: 7.762 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.8568, allocations: 19.92 kB / 0.8856 GB, free: 7.742 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 6.796e-05/0.8568, allocations: 47.73 kB / 0.8856 GB, free: 7.695 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.8573, allocations: 193.2 kB / 0.8858 GB, free: 7.512 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8573, allocations: 0 / 0.8858 GB, free: 7.512 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8573, allocations: 0 / 0.8858 GB, free: 7.512 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.014e-06/0.8573, allocations: 0 / 0.8858 GB, free: 7.512 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006752/0.858, allocations: 450.6 kB / 0.8863 GB, free: 7.023 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.858, allocations: 16.02 kB / 0.8863 GB, free: 7.008 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.8581, allocations: 34.94 kB / 0.8863 GB, free: 6.965 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008854/0.859, allocations: 83.8 kB / 0.8864 GB, free: 6.883 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.8592, allocations: 208.9 kB / 0.8866 GB, free: 6.641 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.8592, allocations: 7.938 kB / 0.8866 GB, free: 6.633 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.8593, allocations: 8 kB / 0.8866 GB, free: 6.625 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/0.8597, allocations: 137.5 kB / 0.8867 GB, free: 6.484 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.8597, allocations: 0 / 0.8867 GB, free: 6.484 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.8597, allocations: 4 kB / 0.8867 GB, free: 6.48 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.8598, allocations: 3.938 kB / 0.8867 GB, free: 6.477 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005505/0.8603, allocations: 135.9 kB / 0.8869 GB, free: 6.344 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008131/0.8611, allocations: 424.8 kB / 0.8873 GB, free: 5.879 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/0.8619, allocations: 255.6 kB / 0.8875 GB, free: 5.602 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.8622, allocations: 76.8 kB / 0.8876 GB, free: 5.523 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.8622, allocations: 3.984 kB / 0.8876 GB, free: 5.52 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.8622, allocations: 30.56 kB / 0.8876 GB, free: 5.48 MB / 0.67 GB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.8623, allocations: 4 kB / 0.8876 GB, free: 5.477 MB / 0.67 GB Notification: Performance of matching and sorting (n=8): time 0.0008255/0.8631, allocations: 215.3 kB / 0.8878 GB, free: 5.262 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.8631, allocations: 55.34 kB / 0.8879 GB, free: 5.195 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.8633, allocations: 145.3 kB / 0.888 GB, free: 5.047 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.8633, allocations: 29.7 kB / 0.888 GB, free: 5.012 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 7.451e-05/0.8634, allocations: 116.2 kB / 0.8882 GB, free: 4.895 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.8634, allocations: 19.8 kB / 0.8882 GB, free: 4.875 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.8635, allocations: 25.72 kB / 0.8882 GB, free: 4.844 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.8637, allocations: 326.8 kB / 0.8885 GB, free: 4.516 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.8639, allocations: 51.94 kB / 0.8886 GB, free: 4.465 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002403/0.8641, allocations: 78.52 kB / 0.8886 GB, free: 4.379 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/0.8646, allocations: 116.8 kB / 0.8887 GB, free: 4.262 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8646, allocations: 0 / 0.8887 GB, free: 4.262 MB / 0.67 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005102/0.8651, allocations: 166.8 kB / 0.8889 GB, free: 4.094 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.8651, allocations: 4 kB / 0.8889 GB, free: 4.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.8652, allocations: 0 / 0.8889 GB, free: 4.09 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.8652, allocations: 8 kB / 0.8889 GB, free: 4.082 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.8654, allocations: 23.97 kB / 0.8889 GB, free: 4.059 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.8654, allocations: 4.812 kB / 0.8889 GB, free: 4.055 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.8656, allocations: 23.91 kB / 0.889 GB, free: 4.031 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.8656, allocations: 4 kB / 0.889 GB, free: 4.027 MB / 0.67 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 (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 0.0001082/0.8657, allocations: 121.8 kB / 0.8891 GB, free: 3.898 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.8657, allocations: 15.91 kB / 0.8891 GB, free: 3.883 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.424e-05/0.8658, allocations: 24.69 kB / 0.8891 GB, free: 3.855 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.8658, allocations: 0 / 0.8891 GB, free: 3.855 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.8658, allocations: 0 / 0.8891 GB, free: 3.855 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.8658, allocations: 0 / 0.8891 GB, free: 3.855 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009379/0.8668, allocations: 459.4 kB / 0.8896 GB, free: 3.352 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8668, allocations: 0 / 0.8896 GB, free: 3.352 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.867, allocations: 27.97 kB / 0.8896 GB, free: 3.324 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.867, allocations: 3.938 kB / 0.8896 GB, free: 3.324 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.867, allocations: 4 kB / 0.8896 GB, free: 3.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.867, allocations: 7.922 kB / 0.8896 GB, free: 3.312 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.867, allocations: 4 kB / 0.8896 GB, free: 3.309 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.8676, allocations: 263.3 kB / 0.8899 GB, free: 3.035 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.8677, allocations: 88.98 kB / 0.8899 GB, free: 2.93 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.8677, allocations: 12 kB / 0.89 GB, free: 2.918 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.8679, allocations: 15.92 kB / 0.89 GB, free: 2.902 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.8679, allocations: 7.922 kB / 0.89 GB, free: 2.895 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.8679, allocations: 4 kB / 0.89 GB, free: 2.891 MB / 0.67 GB Notification: Performance of sorting global known variables: time 9.894e-05/0.8681, allocations: 119.1 kB / 0.8901 GB, free: 2.773 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8681, allocations: 0 / 0.8901 GB, free: 2.773 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002647/0.8683, allocations: 24 kB / 0.8901 GB, free: 2.75 MB / 0.67 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 (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 Backend phase and start with SimCode phase: time 0.001025/0.8694, allocations: 0.8098 MB / 0.8909 GB, free: 1.914 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0005159/0.8699, allocations: 123.9 kB / 0.891 GB, free: 1.793 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8699, allocations: 0 / 0.891 GB, free: 1.793 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.8702, allocations: 75.88 kB / 0.8911 GB, free: 1.719 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.8705, allocations: 27.91 kB / 0.8911 GB, free: 1.691 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.8733, allocations: 1.733 MB / 0.8928 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004062/0.8737, allocations: 0.6963 MB / 0.8935 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001512/0.8739, allocations: 28.88 kB / 0.8935 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.357e-05/0.874, allocations: 31.42 kB / 0.8936 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of SimCode: time 4.91e-07/0.874, allocations: 0 / 0.8936 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.8993, allocations: 3.363 MB / 0.8968 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/9.095, allocations: 18.59 kB / 0.8969 GB, free: 11.84 MB / 0.6856 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.126264652004465] Failed to read output from testmodel.py, exit status != 0: 9.166069078957662 9.189954397 8.32956801 Calling exit ...