Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_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.0008801/0.0008801, 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.0008971/0.0008971, allocations: 165.9 kB / 22.45 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.8989/0.8989, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7486/0.7486, 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.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.6181 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.139e-05, allocations: 5.156 kB / 0.6181 GB, free: 13.54 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00254/0.002562, allocations: 1.497 MB / 0.6195 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4275/0.4301, allocations: 115.8 MB / 0.7327 GB, free: 28.13 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.4301, allocations: 0.8125 kB / 0.7327 GB, free: 28.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.092e-05/0.4302, allocations: 7.766 kB / 0.7327 GB, free: 28.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.8e-05/0.4302, allocations: 9.594 kB / 0.7327 GB, free: 28.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003657/0.4306, allocations: 65.48 kB / 0.7327 GB, free: 28.09 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.283e-05/0.4307, allocations: 56 kB / 0.7328 GB, free: 28.06 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.4308, allocations: 15.89 kB / 0.7328 GB, free: 28.05 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.078e-05/0.4309, allocations: 29.2 kB / 0.7328 GB, free: 28.04 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.738e-05/0.4309, allocations: 18.59 kB / 0.7328 GB, free: 28.03 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.01e-05/0.4309, allocations: 7.438 kB / 0.7329 GB, free: 28.03 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.329e-05/0.431, allocations: 22.3 kB / 0.7329 GB, free: 28.02 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.431, allocations: 12.33 kB / 0.7329 GB, free: 28.02 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.4311, allocations: 17.53 kB / 0.7329 GB, free: 28.01 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.4312, allocations: 61.64 kB / 0.733 GB, free: 27.99 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.4312, allocations: 4 kB / 0.733 GB, free: 27.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4312, allocations: 0.5 kB / 0.733 GB, free: 27.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.4312, allocations: 4.594 kB / 0.733 GB, free: 27.98 MB / 0.6355 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.000377/0.4316, allocations: 296.6 kB / 0.7333 GB, free: 27.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.4317, allocations: 9.375 kB / 0.7333 GB, free: 27.71 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.496e-05/0.4317, allocations: 36.12 kB / 0.7333 GB, free: 27.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.438e-05/0.4317, allocations: 3.406 kB / 0.7333 GB, free: 27.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.275e-05/0.4318, allocations: 121.3 kB / 0.7334 GB, free: 27.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.4318, allocations: 1.531 kB / 0.7334 GB, free: 27.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.4318, allocations: 2.938 kB / 0.7334 GB, free: 27.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.432, allocations: 81.83 kB / 0.7335 GB, free: 27.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.432, allocations: 1.156 kB / 0.7335 GB, free: 27.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.432, allocations: 384 / 0.7335 GB, free: 27.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.432, allocations: 5.094 kB / 0.7335 GB, free: 27.47 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.4321, allocations: 65.59 kB / 0.7336 GB, free: 27.46 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.4324, allocations: 247.7 kB / 0.7338 GB, free: 27.21 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.4326, allocations: 62.75 kB / 0.7339 GB, free: 27.17 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.524e-05/0.4326, allocations: 37.09 kB / 0.7339 GB, free: 27.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.4327, allocations: 12.61 kB / 0.7339 GB, free: 27.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.4328, allocations: 31.62 kB / 0.7339 GB, free: 27.12 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4328, allocations: 0 / 0.7339 GB, free: 27.12 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003337/0.4331, allocations: 138.3 kB / 0.7341 GB, free: 27.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.4331, allocations: 56.5 kB / 0.7341 GB, free: 27 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.226e-05/0.4332, allocations: 119.2 kB / 0.7342 GB, free: 26.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.981e-06/0.4332, allocations: 25.7 kB / 0.7343 GB, free: 26.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.32e-05/0.4332, allocations: 86.83 kB / 0.7344 GB, free: 26.78 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.4332, allocations: 18.91 kB / 0.7344 GB, free: 26.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.4332, allocations: 13.03 kB / 0.7344 GB, free: 26.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.383e-05/0.4333, allocations: 324.5 kB / 0.7347 GB, free: 26.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.824e-05/0.4333, allocations: 29.67 kB / 0.7347 GB, free: 26.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.551e-05/0.4334, allocations: 32.05 kB / 0.7347 GB, free: 26.42 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001317/0.4335, allocations: 71 kB / 0.7348 GB, free: 26.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4335, allocations: 4 kB / 0.7348 GB, free: 26.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001588/0.4337, allocations: 105.7 kB / 0.7349 GB, free: 26.35 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.4337, allocations: 5.062 kB / 0.7349 GB, free: 26.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4337, allocations: 4.016 kB / 0.7349 GB, free: 26.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.4337, allocations: 0 / 0.7349 GB, free: 26.35 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.037e-05/0.4338, allocations: 15.22 kB / 0.7349 GB, free: 26.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.4338, allocations: 4 kB / 0.7349 GB, free: 26.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.4338, allocations: 14.55 kB / 0.735 GB, free: 26.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.4339, allocations: 3.625 kB / 0.735 GB, free: 26.34 MB / 0.6355 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 3.945e-05/0.4339, allocations: 113.4 kB / 0.7351 GB, free: 26.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.4339, allocations: 10.36 kB / 0.7351 GB, free: 26.22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001992/0.4341, allocations: 109 kB / 0.7352 GB, free: 26.17 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4341, allocations: 5.156 kB / 0.7352 GB, free: 26.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4341, allocations: 0 / 0.7352 GB, free: 26.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4341, allocations: 0 / 0.7352 GB, free: 26.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.017e-05/0.4342, allocations: 136.1 kB / 0.7353 GB, free: 26 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4342, allocations: 1.469 kB / 0.7353 GB, free: 26 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.4342, allocations: 15.28 kB / 0.7353 GB, free: 26 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4343, allocations: 1.125 kB / 0.7353 GB, free: 26 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.4343, allocations: 0 / 0.7353 GB, free: 26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4343, allocations: 1.188 kB / 0.7353 GB, free: 26 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4343, allocations: 0 / 0.7353 GB, free: 26 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001766/0.4344, allocations: 202.2 kB / 0.7355 GB, free: 25.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.848e-06/0.4344, allocations: 9.984 kB / 0.7355 GB, free: 25.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.4345, allocations: 9.188 kB / 0.7356 GB, free: 25.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.222e-05/0.4345, allocations: 12.67 kB / 0.7356 GB, free: 25.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.4346, allocations: 6.438 kB / 0.7356 GB, free: 25.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.4346, allocations: 1.188 kB / 0.7356 GB, free: 25.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.764e-05/0.4346, allocations: 97.19 kB / 0.7357 GB, free: 25.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4346, allocations: 0 / 0.7357 GB, free: 25.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001638/0.4347, allocations: 16.16 kB / 0.7357 GB, free: 25.75 MB / 0.6355 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.0003388/0.4351, allocations: 0.7399 MB / 0.7364 GB, free: 25.07 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.4353, allocations: 73.8 kB / 0.7365 GB, free: 25.06 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4353, allocations: 0 / 0.7365 GB, free: 25.06 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.304e-05/0.4353, allocations: 33.14 kB / 0.7365 GB, free: 25.05 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.4356, allocations: 15.45 kB / 0.7365 GB, free: 25.05 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009696/0.4366, allocations: 1.423 MB / 0.7379 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.733e-05/0.4366, allocations: 71.67 kB / 0.738 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.098e-05/0.4367, allocations: 3.375 kB / 0.738 GB, free: 23.74 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.644e-05/0.4367, allocations: 17.66 kB / 0.738 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/0.4367, allocations: 0.6875 kB / 0.738 GB, free: 23.73 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.4528, allocations: 2.812 MB / 0.7407 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.858/7.311, allocations: 8.219 kB / 0.7408 GB, free: 22.82 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_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_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.220538169145584] Failed to read output from testmodel.py, exit status != 0: 7.392999871633947 7.406161755 6.9725575520000005 Calling exit ...