Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007936/0.0007936, 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.0008119/0.0008119, 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.9599/0.9599, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.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.7769/0.7769, allocations: 154.6 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.618 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.359e-05/3.577e-05, allocations: 2.281 kB / 0.618 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.003078/0.003114, allocations: 1.293 MB / 0.6193 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.4501/0.4532, allocations: 115.8 MB / 0.7324 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.54e-05/0.4533, allocations: 2.906 kB / 0.7324 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.225e-05/0.4533, allocations: 0 / 0.7324 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.539e-05/0.4533, allocations: 3.938 kB / 0.7324 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.4537, allocations: 64.97 kB / 0.7324 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.853e-05/0.4538, allocations: 22.27 kB / 0.7325 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.472e-05/0.4538, allocations: 0 / 0.7325 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.395e-05/0.4539, allocations: 16.33 kB / 0.7325 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.45e-05/0.454, allocations: 6.859 kB / 0.7325 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.454, allocations: 2.188 kB / 0.7325 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.072e-05/0.454, allocations: 13.41 kB / 0.7325 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.4541, allocations: 6.766 kB / 0.7325 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.4541, allocations: 6.719 kB / 0.7325 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.4542, allocations: 25.25 kB / 0.7325 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4542, allocations: 2.531 kB / 0.7325 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4542, allocations: 4 kB / 0.7325 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.4542, allocations: 3.938 kB / 0.7325 GB, free: 11.02 MB / 0.6042 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.0003408/0.4545, allocations: 252.9 kB / 0.7328 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.4546, allocations: 12.47 kB / 0.7328 GB, free: 10.75 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.332e-05/0.4546, allocations: 38.73 kB / 0.7328 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.4547, allocations: 12.05 kB / 0.7328 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.609e-05/0.4548, allocations: 105.1 kB / 0.7329 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.079e-05/0.4549, allocations: 58.86 kB / 0.733 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.4549, allocations: 4.312 kB / 0.733 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.934e-05/0.455, allocations: 45.97 kB / 0.733 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.455, allocations: 1.688 kB / 0.7331 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.455, allocations: 384 / 0.7331 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.455, allocations: 3.938 kB / 0.7331 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.768e-05/0.4551, allocations: 11.98 kB / 0.7331 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.4552, allocations: 124.7 kB / 0.7332 GB, free: 10.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.011e-05/0.4553, allocations: 30.61 kB / 0.7332 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.124e-05/0.4553, allocations: 16.86 kB / 0.7332 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.4553, allocations: 4.094 kB / 0.7332 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.4554, allocations: 34.55 kB / 0.7333 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.4554, allocations: 0 / 0.7333 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001802/0.4555, allocations: 61.56 kB / 0.7333 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.4556, allocations: 51.41 kB / 0.7334 GB, free: 10.04 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.331e-05/0.4556, allocations: 102 kB / 0.7335 GB, free: 9.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.4556, allocations: 25.7 kB / 0.7335 GB, free: 9.898 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.236e-05/0.4557, allocations: 80.14 kB / 0.7336 GB, free: 9.816 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.4557, allocations: 11.84 kB / 0.7336 GB, free: 9.805 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.4557, allocations: 19.22 kB / 0.7336 GB, free: 9.781 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.896e-05/0.4558, allocations: 318.8 kB / 0.7339 GB, free: 9.461 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.383e-05/0.4558, allocations: 8 kB / 0.7339 GB, free: 9.453 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.484e-05/0.4559, allocations: 12.17 kB / 0.7339 GB, free: 9.441 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.429e-05/0.4559, allocations: 20.84 kB / 0.7339 GB, free: 9.418 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4559, allocations: 0 / 0.7339 GB, free: 9.418 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.066e-05/0.456, allocations: 57.61 kB / 0.734 GB, free: 9.355 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.456, allocations: 4 kB / 0.734 GB, free: 9.352 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.456, allocations: 0 / 0.734 GB, free: 9.352 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.456, allocations: 3.938 kB / 0.734 GB, free: 9.348 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.067e-05/0.4561, allocations: 12 kB / 0.734 GB, free: 9.336 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.4561, allocations: 0 / 0.734 GB, free: 9.336 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.738e-05/0.4561, allocations: 0 / 0.734 GB, free: 9.336 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.4561, allocations: 0 / 0.734 GB, free: 9.336 MB / 0.6042 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 6.409e-05/0.4562, allocations: 110.8 kB / 0.7341 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-06/0.4562, allocations: 7.984 kB / 0.7341 GB, free: 9.211 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/0.4562, allocations: 7.625 kB / 0.7341 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4562, allocations: 7.938 kB / 0.7341 GB, free: 9.188 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4562, allocations: 3.938 kB / 0.7342 GB, free: 9.184 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.4562, allocations: 0 / 0.7342 GB, free: 9.184 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.971e-05/0.4563, allocations: 124.8 kB / 0.7343 GB, free: 9.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4563, allocations: 3.125 kB / 0.7343 GB, free: 9.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-05/0.4563, allocations: 7.984 kB / 0.7343 GB, free: 9.012 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.4563, allocations: 0 / 0.7343 GB, free: 9.012 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.4563, allocations: 0 / 0.7343 GB, free: 9.012 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4563, allocations: 7.938 kB / 0.7343 GB, free: 9.004 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4563, allocations: 0 / 0.7343 GB, free: 9.004 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.079e-05/0.4564, allocations: 81.02 kB / 0.7344 GB, free: 8.906 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.4565, allocations: 3.984 kB / 0.7344 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-06/0.4565, allocations: 0 / 0.7344 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.499e-05/0.4565, allocations: 11.94 kB / 0.7344 GB, free: 8.891 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.4565, allocations: 0 / 0.7344 GB, free: 8.891 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.4565, allocations: 0 / 0.7344 GB, free: 8.891 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.777e-05/0.4565, allocations: 83.27 kB / 0.7345 GB, free: 8.809 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4565, allocations: 0 / 0.7345 GB, free: 8.809 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001305/0.4567, allocations: 8 kB / 0.7345 GB, free: 8.801 MB / 0.6042 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.0002921/0.457, allocations: 0.6086 MB / 0.7351 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001001/0.4571, allocations: 25.23 kB / 0.7351 GB, free: 8.137 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.4571, allocations: 0 / 0.7351 GB, free: 8.137 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.4571, allocations: 8 kB / 0.7351 GB, free: 8.129 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.4573, allocations: 18.11 kB / 0.7351 GB, free: 8.113 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.4577, allocations: 143.1 kB / 0.7352 GB, free: 7.934 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.053e-05/0.4577, allocations: 63.34 kB / 0.7353 GB, free: 7.852 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.404e-05/0.4577, allocations: 7.984 kB / 0.7353 GB, free: 7.844 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.211e-05/0.4578, allocations: 8.5 kB / 0.7353 GB, free: 7.836 MB / 0.6042 GB Notification: Performance of SimCode: time 7.11e-07/0.4578, allocations: 0 / 0.7353 GB, free: 7.836 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0144/0.4722, allocations: 1.929 MB / 0.7372 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.714/7.186, allocations: 8.828 kB / 0.7372 GB, free: 6.062 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.091362368315458] Failed to read output from testmodel.py, exit status != 0: 7.268834345974028 7.280108068 6.82374618 Calling exit ...