Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.101/1.101, allocations: 175.8 MB / 478.5 MB, free: 8.48 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 72.72 kB / 0.6652 GB, free: 0.582 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2167, allocations: 94.54 MB / 0.7575 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002904/0.2196, allocations: 1.41 MB / 0.7589 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3853/0.6049, allocations: 0.602 MB / 0.7595 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.062e-05/0.6049, allocations: 0.7188 kB / 0.7595 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.605, allocations: 4.859 kB / 0.7595 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.459e-05/0.605, allocations: 3.938 kB / 0.7595 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004543/0.6055, allocations: 97.91 kB / 0.7596 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.293e-05/0.6055, allocations: 30.2 kB / 0.7596 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.374e-05/0.6056, allocations: 3.125 kB / 0.7596 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.044e-05/0.6057, allocations: 9.766 kB / 0.7596 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.841e-05/0.6057, allocations: 15 kB / 0.7596 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.6057, allocations: 1.844 kB / 0.7596 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.6061, allocations: 146.5 kB / 0.7598 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.6061, allocations: 2.078 kB / 0.7598 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.6061, allocations: 16.67 kB / 0.7598 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.6063, allocations: 103.4 kB / 0.7599 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.6063, allocations: 0.8438 kB / 0.7599 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6063, allocations: 1.281 kB / 0.7599 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.128e-05/0.6063, allocations: 0 / 0.7599 GB, free: 7.973 MB / 0.5762 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.000415/0.6068, allocations: 359.1 kB / 0.7602 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.6068, allocations: 9.969 kB / 0.7602 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.545e-05/0.6068, allocations: 34.62 kB / 0.7603 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004512/0.6073, allocations: 28.03 kB / 0.7603 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.696e-05/0.6074, allocations: 167.7 kB / 0.7605 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.6074, allocations: 1.594 kB / 0.7605 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.6074, allocations: 2.969 kB / 0.7605 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.6077, allocations: 70.03 kB / 0.7605 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.6077, allocations: 4.594 kB / 0.7605 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.6077, allocations: 3.688 kB / 0.7605 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6077, allocations: 1.906 kB / 0.7605 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002758/0.608, allocations: 50.33 kB / 0.7606 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.6084, allocations: 269.3 kB / 0.7608 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.6087, allocations: 65.8 kB / 0.7609 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.6088, allocations: 30.31 kB / 0.7609 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.6088, allocations: 2.219 kB / 0.7609 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.6088, allocations: 35.72 kB / 0.761 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.6088, allocations: 0 / 0.761 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0005155/0.6094, allocations: 114.7 kB / 0.7611 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.6094, allocations: 51.41 kB / 0.7611 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.024e-05/0.6094, allocations: 106.2 kB / 0.7612 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.6095, allocations: 28.34 kB / 0.7613 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.459e-05/0.6095, allocations: 81.45 kB / 0.7613 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.6095, allocations: 12.8 kB / 0.7614 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/0.6095, allocations: 16.84 kB / 0.7614 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.351e-05/0.6096, allocations: 312.2 kB / 0.7617 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.6097, allocations: 30.16 kB / 0.7617 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.6098, allocations: 26.05 kB / 0.7617 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.6101, allocations: 60.17 kB / 0.7618 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6101, allocations: 3.938 kB / 0.7618 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002913/0.6104, allocations: 91.78 kB / 0.7619 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.6104, allocations: 9.859 kB / 0.7619 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.6104, allocations: 0 / 0.7619 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.6104, allocations: 0.625 kB / 0.7619 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.6106, allocations: 13.81 kB / 0.7619 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.6106, allocations: 1.391 kB / 0.7619 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.407e-05/0.6107, allocations: 10.08 kB / 0.7619 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.6107, allocations: 8.484 kB / 0.7619 GB, free: 6.297 MB / 0.5762 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 (2): * Single equations (assignments): 2 * 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.436e-05/0.6107, allocations: 111.7 kB / 0.762 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.6108, allocations: 5.375 kB / 0.762 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.6108, allocations: 8.594 kB / 0.762 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.6108, allocations: 0 / 0.762 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6108, allocations: 4.531 kB / 0.762 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6108, allocations: 0.5938 kB / 0.762 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.611, allocations: 165.4 kB / 0.7622 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.611, allocations: 0.6562 kB / 0.7622 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.6111, allocations: 19.06 kB / 0.7622 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.6111, allocations: 1.5 kB / 0.7622 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.6111, allocations: 6.281 kB / 0.7622 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.6111, allocations: 0 / 0.7622 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.6111, allocations: 0.5312 kB / 0.7622 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.6114, allocations: 187.2 kB / 0.7624 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.6114, allocations: 83.17 kB / 0.7625 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.6115, allocations: 0.75 kB / 0.7625 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.6116, allocations: 8.969 kB / 0.7625 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.6116, allocations: 11.78 kB / 0.7625 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.6116, allocations: 3.516 kB / 0.7625 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.387e-05/0.6117, allocations: 80.09 kB / 0.7626 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.6117, allocations: 0 / 0.7626 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002753/0.6119, allocations: 19.19 kB / 0.7626 GB, free: 5.652 MB / 0.5762 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 (2): * Single equations (assignments): 2 * 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.0005339/0.6125, allocations: 0.7292 MB / 0.7633 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000309/0.6128, allocations: 58.02 kB / 0.7634 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6128, allocations: 0 / 0.7634 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.6129, allocations: 30.22 kB / 0.7634 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.6132, allocations: 7.359 kB / 0.7634 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005612/0.6138, allocations: 169.4 kB / 0.7636 GB, free: 4.832 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.6141, allocations: 0.676 MB / 0.7642 GB, free: 20.14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.157e-05/0.6142, allocations: 11.84 kB / 0.7642 GB, free: 20.13 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.6142, allocations: 15.47 kB / 0.7642 GB, free: 20.12 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.6142, allocations: 0 / 0.7642 GB, free: 20.12 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.6384, allocations: 1.668 MB / 0.7659 GB, free: 19.75 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/8.678, allocations: 6.938 kB / 0.7659 GB, free: 19.75 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_SaturationPressure.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.523930333089083] Failed to read output from testmodel.py, exit status != 0: 8.745531941298395 8.758078573 8.148935638 Calling exit ...