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.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.001116/0.001116, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.001403/0.001403, allocations: 213.7 kB / 22.25 MB, free: 3.711 MB / 13.93 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.002/1.002, allocations: 230.6 MB / 256 MB, free: 9.828 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8327/0.8327, allocations: 203.8 MB / 0.5042 GB, free: 10.75 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.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: 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.0009367/0.0009367, allocations: 62.97 kB / 0.7182 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5678/0.5687, allocations: 102 MB / 0.8178 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.002369/0.5711, allocations: 1.676 MB / 0.8195 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1507/0.7218, allocations: 154.9 MB / 0.9708 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.7219, allocations: 0 / 0.9708 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.7221, allocations: 15.8 kB / 0.9708 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.7224, allocations: 55.7 kB / 0.9708 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.7228, allocations: 143.4 kB / 0.971 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001731/0.723, allocations: 127.5 kB / 0.9711 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.7231, allocations: 25.58 kB / 0.9711 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009359/0.7241, allocations: 179.1 kB / 0.9713 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.912e-05/0.7241, allocations: 43.78 kB / 0.9713 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.7242, allocations: 12 kB / 0.9714 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003445/0.7245, allocations: 191.7 kB / 0.9715 GB, free: 8.188 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.7245, allocations: 23.91 kB / 0.9716 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.141e-05/0.7246, allocations: 43.73 kB / 0.9716 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.7249, allocations: 189.6 kB / 0.9718 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7249, allocations: 0 / 0.9718 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7249, allocations: 0 / 0.9718 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.7249, allocations: 0 / 0.9718 GB, free: 7.938 MB / 0.7448 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.0005024/0.7254, allocations: 377.5 kB / 0.9721 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.7254, allocations: 8.031 kB / 0.9722 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.7255, allocations: 46.73 kB / 0.9722 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005371/0.726, allocations: 83.8 kB / 0.9723 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.7262, allocations: 153 kB / 0.9724 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.7263, allocations: 4 kB / 0.9724 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.7263, allocations: 12 kB / 0.9724 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000287/0.7266, allocations: 128 kB / 0.9726 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.7266, allocations: 4 kB / 0.9726 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.7266, allocations: 11.94 kB / 0.9726 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.7266, allocations: 3.984 kB / 0.9726 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.7269, allocations: 139.8 kB / 0.9727 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.7274, allocations: 379.6 kB / 0.9731 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003772/0.7278, allocations: 174.5 kB / 0.9732 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.7279, allocations: 80.73 kB / 0.9733 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.7279, allocations: 4 kB / 0.9733 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.728, allocations: 30.56 kB / 0.9734 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.728, allocations: 0 / 0.9734 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0004485/0.7284, allocations: 217.4 kB / 0.9736 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.7284, allocations: 51.41 kB / 0.9736 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.396e-05/0.7285, allocations: 154.3 kB / 0.9738 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.7285, allocations: 29.7 kB / 0.9738 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.7286, allocations: 104.1 kB / 0.9739 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.7286, allocations: 27.75 kB / 0.9739 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.7287, allocations: 25.7 kB / 0.9739 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.364e-05/0.7287, allocations: 322.8 kB / 0.9742 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.7289, allocations: 47.95 kB / 0.9743 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.729, allocations: 86.5 kB / 0.9744 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.7292, allocations: 116.8 kB / 0.9745 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7292, allocations: 4.031 kB / 0.9745 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00026/0.7295, allocations: 150 kB / 0.9746 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.7295, allocations: 11.94 kB / 0.9746 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.7295, allocations: 0 / 0.9746 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.7295, allocations: 7.984 kB / 0.9746 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.7296, allocations: 31.97 kB / 0.9747 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.7296, allocations: 0 / 0.9747 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.226e-05/0.7297, allocations: 19.94 kB / 0.9747 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.7297, allocations: 7.938 kB / 0.9747 GB, free: 4.738 MB / 0.7448 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 7.791e-05/0.7298, allocations: 117.8 kB / 0.9748 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.7298, allocations: 7.953 kB / 0.9748 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.79e-05/0.7298, allocations: 24.78 kB / 0.9748 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.7298, allocations: 0 / 0.9748 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7298, allocations: 3.938 kB / 0.9749 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.7299, allocations: 4 kB / 0.9749 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.7304, allocations: 441.3 kB / 0.9753 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.7304, allocations: 0 / 0.9753 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.37e-05/0.7305, allocations: 27.97 kB / 0.9753 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.7305, allocations: 4 kB / 0.9753 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.7305, allocations: 3.984 kB / 0.9753 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.7305, allocations: 3.938 kB / 0.9753 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7305, allocations: 0 / 0.9753 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.7308, allocations: 263.3 kB / 0.9756 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.425e-05/0.7308, allocations: 7.953 kB / 0.9756 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.7308, allocations: 0 / 0.9756 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.7309, allocations: 19.92 kB / 0.9756 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.7309, allocations: 11.98 kB / 0.9756 GB, free: 3.742 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.7309, allocations: 7.922 kB / 0.9756 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.245e-05/0.731, allocations: 107.3 kB / 0.9757 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.731, allocations: 0 / 0.9757 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001899/0.7312, allocations: 35.89 kB / 0.9757 GB, free: 3.594 MB / 0.7448 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.0005933/0.7318, allocations: 0.7982 MB / 0.9765 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002909/0.7321, allocations: 123.9 kB / 0.9766 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.7321, allocations: 0 / 0.9766 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.7322, allocations: 67.88 kB / 0.9767 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.7324, allocations: 32.47 kB / 0.9767 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001712/0.7342, allocations: 1.751 MB / 0.9784 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.7344, allocations: 0.7002 MB / 0.9791 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.687e-05/0.7345, allocations: 28.39 kB / 0.9792 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.7347, allocations: 31.53 kB / 0.9792 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of SimCode: time 7.91e-07/0.7347, allocations: 3.938 kB / 0.9792 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01796/0.7526, allocations: 3.513 MB / 0.9826 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.463/7.215, allocations: 11.2 kB / 0.9826 GB, free: 12.54 MB / 0.7605 GB " [Timeout remaining time 653] (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: 10.417399320052937] Failed to read output from testmodel.py, exit status != 0: 7.293855076190084 7.3026563079999995 6.575968165 Calling exit ...