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.0009708/0.0009708, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001026/0.001026, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.93/0.93, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7249/0.7249, allocations: 154.6 MB / 413.8 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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="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 2.735e-06/2.735e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.164e-05/2.438e-05, allocations: 10.22 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002005/0.00203, allocations: 1.269 MB / 0.6193 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008618/0.002891, allocations: 0.7865 MB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.933e-05/0.002911, allocations: 4 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.02e-05/0.002931, allocations: 0 / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.98e-05/0.002971, allocations: 3.938 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.003382, allocations: 135.3 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.588e-05/0.003447, allocations: 27.86 kB / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.426e-05/0.003482, allocations: 0 / 0.6203 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.747e-05/0.003539, allocations: 15.98 kB / 0.6203 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.203e-05/0.003591, allocations: 19.91 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.003605, allocations: 7.938 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.003811, allocations: 155.7 kB / 0.6205 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.003827, allocations: 11.98 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.629e-05/0.003843, allocations: 4 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.004016, allocations: 143.6 kB / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.004019, allocations: 0 / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.81e-07/0.00402, allocations: 0 / 0.6206 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.004023, allocations: 0 / 0.6206 GB, free: 11.08 MB / 0.5886 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.0003782/0.004402, allocations: 282 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.004437, allocations: 16.03 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.839e-05/0.004465, allocations: 34.75 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.004493, allocations: 4.938 kB / 0.6209 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.026e-05/0.004563, allocations: 105.8 kB / 0.621 GB, free: 10.58 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.789e-05/0.004631, allocations: 59.97 kB / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-06/0.004638, allocations: 384 / 0.6211 GB, free: 10.51 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.004742, allocations: 67.95 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.004748, allocations: 8.062 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.004756, allocations: 4.375 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.004761, allocations: 3.938 kB / 0.6212 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.562e-05/0.004816, allocations: 19.98 kB / 0.6212 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.004928, allocations: 128.8 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.005081, allocations: 42.61 kB / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.005111, allocations: 16.94 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.005254, allocations: 27.97 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.005271, allocations: 30.56 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.005272, allocations: 4 kB / 0.6214 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0001687/0.005441, allocations: 77.64 kB / 0.6215 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.005467, allocations: 55.41 kB / 0.6216 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.332e-05/0.00551, allocations: 97.89 kB / 0.6217 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.005521, allocations: 29.7 kB / 0.6217 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.957e-05/0.00554, allocations: 80.14 kB / 0.6218 GB, free: 9.719 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.005563, allocations: 11.88 kB / 0.6218 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.583e-05/0.005589, allocations: 21.67 kB / 0.6218 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.953e-05/0.005659, allocations: 318.8 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.479e-05/0.005683, allocations: 7.984 kB / 0.6221 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.093e-05/0.005704, allocations: 16 kB / 0.6221 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.19e-05/0.005756, allocations: 28.78 kB / 0.6222 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005758, allocations: 0 / 0.6222 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.816e-05/0.005826, allocations: 53.69 kB / 0.6222 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.005839, allocations: 8 kB / 0.6222 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.005846, allocations: 3.984 kB / 0.6222 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.005858, allocations: 7.875 kB / 0.6222 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.816e-05/0.005886, allocations: 4 kB / 0.6222 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.00589, allocations: 4 kB / 0.6222 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.294e-05/0.005903, allocations: 4 kB / 0.6222 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.005907, allocations: 0 / 0.6222 GB, free: 9.215 MB / 0.5886 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 5.17e-05/0.005959, allocations: 114.8 kB / 0.6223 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.27e-06/0.005964, allocations: 3.984 kB / 0.6223 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.006066, allocations: 69.3 kB / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.006068, allocations: 3.938 kB / 0.6224 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.006072, allocations: 0 / 0.6224 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.006075, allocations: 0 / 0.6224 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.299e-05/0.006138, allocations: 132.7 kB / 0.6225 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.006139, allocations: 4 kB / 0.6225 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.754e-05/0.006156, allocations: 7.984 kB / 0.6226 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.006158, allocations: 4 kB / 0.6226 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.006163, allocations: 0 / 0.6226 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.006165, allocations: 3.938 kB / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.006166, allocations: 0 / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.762e-05/0.006243, allocations: 85.05 kB / 0.6226 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.006274, allocations: 4 kB / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.006284, allocations: 8 kB / 0.6227 GB, free: 8.703 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.285e-05/0.006307, allocations: 7.922 kB / 0.6227 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.006344, allocations: 8 kB / 0.6227 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.006347, allocations: 0 / 0.6227 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.392e-05/0.006371, allocations: 79.7 kB / 0.6227 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.1e-08/0.006371, allocations: 0 / 0.6227 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000163/0.006534, allocations: 43.8 kB / 0.6228 GB, free: 8.566 MB / 0.5886 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.0003145/0.006848, allocations: 0.6593 MB / 0.6234 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.778e-05/0.006936, allocations: 23.98 kB / 0.6235 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.006937, allocations: 4 kB / 0.6235 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-05/0.006961, allocations: 15.98 kB / 0.6235 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.007107, allocations: 7.938 kB / 0.6235 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.00739, allocations: 165 kB / 0.6236 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.23e-05/0.007423, allocations: 63.3 kB / 0.6237 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.952e-05/0.007452, allocations: 15.97 kB / 0.6237 GB, free: 7.531 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.311e-05/0.007475, allocations: 8.5 kB / 0.6237 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/0.007476, allocations: 0 / 0.6237 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01538/0.02286, allocations: 2.652 MB / 0.6263 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/7.06, allocations: 4.062 kB / 0.6263 GB, free: 5.012 MB / 0.5886 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 9.93864747788757] Failed to read output from testmodel.py, exit status != 0: 7.142313660122454 7.156967547 7.150416261 Calling exit ...