Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.000957/0.000957, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.0009794/0.0009794, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.8974/0.8974, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.7805/0.7805, allocations: 154.6 MB / 413.8 MB, free: 0.8242 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.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.6181 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.788e-05, allocations: 10.22 kB / 0.6181 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi): time 0.003261/0.003288, allocations: 1.626 MB / 0.6197 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.4419/0.4451, allocations: 133.2 MB / 0.7498 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.4453, allocations: 0 / 0.7498 GB, free: 9.777 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.4455, allocations: 19.73 kB / 0.7498 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.4458, allocations: 47.66 kB / 0.7498 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.4462, allocations: 159.2 kB / 0.75 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.4463, allocations: 119.6 kB / 0.7501 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.4465, allocations: 22.36 kB / 0.7501 GB, free: 9.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008547/0.4473, allocations: 201.2 kB / 0.7503 GB, free: 9.25 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.4475, allocations: 31.91 kB / 0.7503 GB, free: 9.219 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.4475, allocations: 8 kB / 0.7503 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.4479, allocations: 175.6 kB / 0.7505 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.021e-05/0.4479, allocations: 23.92 kB / 0.7505 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.4479, allocations: 31.91 kB / 0.7506 GB, free: 8.984 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.4483, allocations: 215.2 kB / 0.7508 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4483, allocations: 0 / 0.7508 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4483, allocations: 0 / 0.7508 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5e-06/0.4483, allocations: 0 / 0.7508 GB, free: 8.773 MB / 0.6198 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.0004691/0.4487, allocations: 370 kB / 0.7511 GB, free: 8.383 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.4488, allocations: 12.03 kB / 0.7511 GB, free: 8.371 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.688e-05/0.4488, allocations: 38.92 kB / 0.7512 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005673/0.4494, allocations: 87.8 kB / 0.7512 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.4496, allocations: 154.6 kB / 0.7514 GB, free: 8.062 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.4496, allocations: 8 kB / 0.7514 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.4496, allocations: 8 kB / 0.7514 GB, free: 8.047 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.4499, allocations: 137.5 kB / 0.7515 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4499, allocations: 0 / 0.7515 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.45, allocations: 0 / 0.7515 GB, free: 7.906 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.45, allocations: 4 kB / 0.7515 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002815/0.4502, allocations: 135.9 kB / 0.7517 GB, free: 7.77 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.4508, allocations: 375.4 kB / 0.752 GB, free: 7.359 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/0.4512, allocations: 174.5 kB / 0.7522 GB, free: 7.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.4514, allocations: 76.78 kB / 0.7523 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.4514, allocations: 0 / 0.7523 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.4514, allocations: 34.56 kB / 0.7523 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.4514, allocations: 0 / 0.7523 GB, free: 7.059 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004756/0.4519, allocations: 217.4 kB / 0.7525 GB, free: 6.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.4519, allocations: 55.39 kB / 0.7526 GB, free: 6.773 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.452, allocations: 138.6 kB / 0.7527 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.452, allocations: 33.7 kB / 0.7527 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/0.4521, allocations: 104.1 kB / 0.7528 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.4521, allocations: 27.89 kB / 0.7529 GB, free: 6.457 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.4521, allocations: 25.7 kB / 0.7529 GB, free: 6.426 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.4522, allocations: 326.8 kB / 0.7532 GB, free: 6.098 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.4523, allocations: 55.94 kB / 0.7532 GB, free: 6.043 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.4525, allocations: 129.9 kB / 0.7534 GB, free: 5.895 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.4527, allocations: 124.7 kB / 0.7535 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4527, allocations: 0 / 0.7535 GB, free: 5.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002799/0.453, allocations: 158.6 kB / 0.7536 GB, free: 5.609 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.453, allocations: 4 kB / 0.7536 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.453, allocations: 0 / 0.7536 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.453, allocations: 0 / 0.7536 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.4532, allocations: 36.78 kB / 0.7537 GB, free: 5.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.4532, allocations: 0 / 0.7537 GB, free: 5.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.478e-05/0.4533, allocations: 19.94 kB / 0.7537 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.4533, allocations: 3.984 kB / 0.7537 GB, free: 5.547 MB / 0.6198 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.0001032/0.4534, allocations: 122.8 kB / 0.7538 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.4534, allocations: 11.95 kB / 0.7538 GB, free: 5.406 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.181e-05/0.4535, allocations: 20.75 kB / 0.7539 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.4535, allocations: 4 kB / 0.7539 GB, free: 5.383 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.4535, allocations: 0 / 0.7539 GB, free: 5.383 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.4535, allocations: 0 / 0.7539 GB, free: 5.383 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006019/0.4541, allocations: 433 kB / 0.7543 GB, free: 4.914 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4541, allocations: 3.938 kB / 0.7543 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.008e-05/0.4542, allocations: 27.97 kB / 0.7543 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4542, allocations: 0 / 0.7543 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.4542, allocations: 3.984 kB / 0.7543 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4542, allocations: 0 / 0.7543 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4542, allocations: 4 kB / 0.7543 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.4545, allocations: 267.3 kB / 0.7546 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.4546, allocations: 7.953 kB / 0.7546 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.4546, allocations: 0 / 0.7546 GB, free: 4.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.843e-05/0.4546, allocations: 15.98 kB / 0.7546 GB, free: 4.574 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.158e-05/0.4547, allocations: 11.98 kB / 0.7546 GB, free: 4.562 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.4547, allocations: 0 / 0.7546 GB, free: 4.562 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.261e-05/0.4548, allocations: 122.4 kB / 0.7547 GB, free: 4.445 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4548, allocations: 0 / 0.7547 GB, free: 4.445 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002107/0.455, allocations: 31.89 kB / 0.7547 GB, free: 4.414 MB / 0.6198 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.0005773/0.4556, allocations: 0.7982 MB / 0.7555 GB, free: 3.59 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002917/0.4559, allocations: 123.8 kB / 0.7556 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.4559, allocations: 4 kB / 0.7556 GB, free: 3.465 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.456, allocations: 67.88 kB / 0.7557 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.4562, allocations: 27.3 kB / 0.7557 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/0.4581, allocations: 1.756 MB / 0.7574 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.46e-05/0.4582, allocations: 84.31 kB / 0.7575 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001028/0.4583, allocations: 28.94 kB / 0.7576 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.4583, allocations: 32.48 kB / 0.7576 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of SimCode: time 9.02e-07/0.4583, allocations: 0 / 0.7576 GB, free: 1.375 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0195/0.4778, allocations: 4.205 MB / 0.7617 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.831/7.309, allocations: 5.125 kB / 0.7617 GB, free: 13.37 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.171830601990223] Failed to read output from testmodel.py, exit status != 0: 7.3900374276563525 7.397347915 6.947310267 Calling exit ...