Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.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.001201/0.001201, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001443/0.001443, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8987/0.8987, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7474/0.7474, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.955e-05/2.127e-05, allocations: 2.812 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001751/0.001773, allocations: 1.29 MB / 0.6194 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4373/0.439, allocations: 115.8 MB / 0.7324 GB, free: 28.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.984e-05/0.4391, allocations: 0 / 0.7324 GB, free: 28.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.45e-05/0.4391, allocations: 0.5938 kB / 0.7324 GB, free: 28.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.225e-05/0.4392, allocations: 5 kB / 0.7324 GB, free: 28.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.4396, allocations: 58.33 kB / 0.7325 GB, free: 28.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.4397, allocations: 33.83 kB / 0.7325 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 5.771e-05/0.4398, allocations: 1.625 kB / 0.7325 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.994e-05/0.4399, allocations: 13.98 kB / 0.7325 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.842e-05/0.4399, allocations: 7.047 kB / 0.7325 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.44, allocations: 1.031 kB / 0.7325 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.375e-05/0.4401, allocations: 16 kB / 0.7326 GB, free: 28.24 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.4401, allocations: 4.281 kB / 0.7326 GB, free: 28.24 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.552e-05/0.4401, allocations: 7.562 kB / 0.7326 GB, free: 28.23 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001329/0.4402, allocations: 30.17 kB / 0.7326 GB, free: 28.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.4402, allocations: 0.7812 kB / 0.7326 GB, free: 28.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4402, allocations: 4 kB / 0.7326 GB, free: 28.22 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.4402, allocations: 0.6562 kB / 0.7326 GB, free: 28.22 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003678/0.4406, allocations: 256.4 kB / 0.7328 GB, free: 27.96 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.4407, allocations: 9.781 kB / 0.7329 GB, free: 27.96 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.578e-05/0.4407, allocations: 31.28 kB / 0.7329 GB, free: 27.92 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.4407, allocations: 6.297 kB / 0.7329 GB, free: 27.92 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.034e-05/0.4408, allocations: 114.1 kB / 0.733 GB, free: 27.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.261e-05/0.4409, allocations: 58.53 kB / 0.7331 GB, free: 27.72 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.4409, allocations: 2 kB / 0.7331 GB, free: 27.72 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.441, allocations: 43.58 kB / 0.7331 GB, free: 27.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.441, allocations: 192 / 0.7331 GB, free: 27.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.441, allocations: 0.9375 kB / 0.7331 GB, free: 27.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.441, allocations: 7.906 kB / 0.7331 GB, free: 27.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.497e-05/0.4411, allocations: 7.781 kB / 0.7331 GB, free: 27.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.4412, allocations: 124.4 kB / 0.7332 GB, free: 27.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.746e-05/0.4413, allocations: 34.3 kB / 0.7333 GB, free: 27.49 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.4413, allocations: 12.53 kB / 0.7333 GB, free: 27.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.4414, allocations: 20.58 kB / 0.7333 GB, free: 27.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.4414, allocations: 35.94 kB / 0.7333 GB, free: 27.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.4414, allocations: 0.6875 kB / 0.7333 GB, free: 27.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001908/0.4416, allocations: 58.61 kB / 0.7334 GB, free: 27.39 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/0.4417, allocations: 52 kB / 0.7334 GB, free: 27.33 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.667e-05/0.4417, allocations: 96.78 kB / 0.7335 GB, free: 27.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/0.4417, allocations: 26.64 kB / 0.7336 GB, free: 27.2 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.169e-05/0.4417, allocations: 91.36 kB / 0.7336 GB, free: 27.11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.4418, allocations: 17.62 kB / 0.7337 GB, free: 27.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.4418, allocations: 16.5 kB / 0.7337 GB, free: 27.08 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.129e-05/0.4418, allocations: 319.4 kB / 0.734 GB, free: 26.76 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.18e-05/0.4419, allocations: 4 kB / 0.734 GB, free: 26.76 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.577e-05/0.4419, allocations: 7.891 kB / 0.734 GB, free: 26.76 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.065e-05/0.4419, allocations: 21.88 kB / 0.734 GB, free: 26.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4419, allocations: 0.5938 kB / 0.734 GB, free: 26.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.217e-05/0.442, allocations: 49.22 kB / 0.7341 GB, free: 26.71 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.442, allocations: 6.219 kB / 0.7341 GB, free: 26.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.442, allocations: 0 / 0.7341 GB, free: 26.71 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.4421, allocations: 7.938 kB / 0.7341 GB, free: 26.71 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.994e-05/0.4421, allocations: 9.5 kB / 0.7341 GB, free: 26.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.4421, allocations: 0 / 0.7341 GB, free: 26.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.76e-05/0.4421, allocations: 5.391 kB / 0.7341 GB, free: 26.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.4422, allocations: 0 / 0.7341 GB, free: 26.7 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 4.86e-05/0.4422, allocations: 113 kB / 0.7342 GB, free: 26.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-06/0.4422, allocations: 1.094 kB / 0.7342 GB, free: 26.59 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.4423, allocations: 56.31 kB / 0.7343 GB, free: 26.55 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4423, allocations: 5.094 kB / 0.7343 GB, free: 26.54 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4423, allocations: 4 kB / 0.7343 GB, free: 26.54 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4423, allocations: 1.188 kB / 0.7343 GB, free: 26.54 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.046e-05/0.4424, allocations: 127.6 kB / 0.7344 GB, free: 26.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4424, allocations: 0 / 0.7344 GB, free: 26.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.4424, allocations: 5.625 kB / 0.7344 GB, free: 26.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.4424, allocations: 0 / 0.7344 GB, free: 26.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.4424, allocations: 1.188 kB / 0.7344 GB, free: 26.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.4424, allocations: 8.625 kB / 0.7344 GB, free: 26.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4424, allocations: 0 / 0.7344 GB, free: 26.37 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.06e-05/0.4425, allocations: 76.72 kB / 0.7345 GB, free: 26.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.4426, allocations: 9.5 kB / 0.7345 GB, free: 26.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.4426, allocations: 0.5312 kB / 0.7345 GB, free: 26.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.287e-05/0.4426, allocations: 5.797 kB / 0.7345 GB, free: 26.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.4426, allocations: 8.328 kB / 0.7345 GB, free: 26.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.4426, allocations: 4.422 kB / 0.7345 GB, free: 26.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.031e-05/0.4426, allocations: 84.31 kB / 0.7346 GB, free: 26.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4426, allocations: 0.5312 kB / 0.7346 GB, free: 26.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001417/0.4428, allocations: 16.31 kB / 0.7346 GB, free: 26.2 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.0002466/0.443, allocations: 0.6203 MB / 0.7352 GB, free: 25.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.099e-05/0.4431, allocations: 22.42 kB / 0.7352 GB, free: 25.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.4431, allocations: 0 / 0.7352 GB, free: 25.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.39e-05/0.4431, allocations: 11.19 kB / 0.7352 GB, free: 25.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.4433, allocations: 16.95 kB / 0.7352 GB, free: 25.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.4436, allocations: 147.7 kB / 0.7354 GB, free: 25.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.699e-05/0.4437, allocations: 59.92 kB / 0.7354 GB, free: 25.36 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.436e-05/0.4437, allocations: 5.062 kB / 0.7355 GB, free: 25.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.4437, allocations: 10.75 kB / 0.7355 GB, free: 25.36 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/0.4437, allocations: 0 / 0.7355 GB, free: 25.36 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01365/0.4574, allocations: 2.023 MB / 0.7374 GB, free: 24.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.503/6.96, allocations: 5.75 kB / 0.7374 GB, free: 24.48 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Psychrometrics.Functions.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_Functions_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.853491781279445] Failed to read output from testmodel.py, exit status != 0: 7.040631019510329 7.052368614 6.60967906 Calling exit ...