Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.0007655/0.0007655, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007742/0.0007742, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8196/0.8196, allocations: 177.1 MB / 203.5 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.6917/0.6917, allocations: 154.6 MB / 414.5 MB, free: 0.793 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: translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.859e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001419/0.001437, allocations: 1.292 MB / 0.6206 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.3957/0.3971, allocations: 129.7 MB / 0.7472 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/0.3971, allocations: 3.938 kB / 0.7472 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.3972, allocations: 0.6094 kB / 0.7472 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.11e-05/0.3972, allocations: 6.328 kB / 0.7472 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004842/0.3977, allocations: 131.7 kB / 0.7474 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 6.646e-05/0.3978, allocations: 18.27 kB / 0.7474 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.266e-05/0.3978, allocations: 6.375 kB / 0.7474 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.298e-05/0.3979, allocations: 7.125 kB / 0.7474 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 3.032e-05/0.3979, allocations: 4.734 kB / 0.7474 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.3979, allocations: 1.094 kB / 0.7474 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003472/0.3982, allocations: 170.3 kB / 0.7475 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.3983, allocations: 5.188 kB / 0.7476 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.3983, allocations: 8.031 kB / 0.7476 GB, free: 19.3 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.3985, allocations: 126.9 kB / 0.7477 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3985, allocations: 1.312 kB / 0.7477 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3985, allocations: 0 / 0.7477 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3985, allocations: 0 / 0.7477 GB, free: 19.27 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.0002774/0.3988, allocations: 282 kB / 0.748 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3988, allocations: 10.16 kB / 0.748 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003933/0.3992, allocations: 41.61 kB / 0.748 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.498e-05/0.3993, allocations: 108.5 kB / 0.7481 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3993, allocations: 5.594 kB / 0.7481 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.3993, allocations: 1.531 kB / 0.7481 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.3994, allocations: 48.66 kB / 0.7482 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.3994, allocations: 0 / 0.7482 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3995, allocations: 1.312 kB / 0.7482 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3995, allocations: 0 / 0.7482 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.269e-05/0.3995, allocations: 25.62 kB / 0.7482 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.3998, allocations: 197.8 kB / 0.7484 GB, free: 18.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.604e-05/0.3998, allocations: 30.38 kB / 0.7484 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.906e-05/0.3998, allocations: 9.562 kB / 0.7484 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.3998, allocations: 0 / 0.7484 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.3999, allocations: 36.89 kB / 0.7484 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 5.61e-07/0.3999, allocations: 0 / 0.7484 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001257/0.4, allocations: 50.3 kB / 0.7485 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/0.4, allocations: 53.17 kB / 0.7485 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.387e-05/0.4001, allocations: 112.6 kB / 0.7487 GB, free: 18.31 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.699e-06/0.4001, allocations: 26.98 kB / 0.7487 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.4001, allocations: 92.88 kB / 0.7488 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.443e-06/0.4001, allocations: 5.781 kB / 0.7488 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.4002, allocations: 19.27 kB / 0.7488 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.859e-05/0.4002, allocations: 317.5 kB / 0.7491 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.581e-05/0.4002, allocations: 8.562 kB / 0.7491 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.152e-05/0.4003, allocations: 13.69 kB / 0.7491 GB, free: 17.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.442e-05/0.4003, allocations: 21.92 kB / 0.7491 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4003, allocations: 3.938 kB / 0.7491 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001096/0.4004, allocations: 61.44 kB / 0.7492 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.4004, allocations: 5.562 kB / 0.7492 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4004, allocations: 0 / 0.7492 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.4005, allocations: 4.797 kB / 0.7492 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.637e-05/0.4005, allocations: 9.312 kB / 0.7492 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4005, allocations: 1.828 kB / 0.7492 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.883e-05/0.4006, allocations: 8.281 kB / 0.7492 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4006, allocations: 2.438 kB / 0.7492 GB, free: 17.79 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.966e-05/0.4006, allocations: 116.4 kB / 0.7493 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.4006, allocations: 6.359 kB / 0.7493 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.751e-05/0.4007, allocations: 11.19 kB / 0.7494 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.4007, allocations: 5.812 kB / 0.7494 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.4007, allocations: 0 / 0.7494 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4007, allocations: 1 kB / 0.7494 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.166e-05/0.4007, allocations: 106.4 kB / 0.7495 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4007, allocations: 10.59 kB / 0.7495 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.065e-05/0.4008, allocations: 3.125 kB / 0.7495 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4008, allocations: 0.6094 kB / 0.7495 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.4008, allocations: 1.062 kB / 0.7495 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.92e-07/0.4008, allocations: 0 / 0.7495 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4008, allocations: 1.672 kB / 0.7495 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.153e-05/0.4008, allocations: 140.2 kB / 0.7496 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.159e-05/0.4009, allocations: 6.391 kB / 0.7496 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.4009, allocations: 1.609 kB / 0.7496 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.732e-05/0.4009, allocations: 2.781 kB / 0.7496 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.4009, allocations: 2.453 kB / 0.7496 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.4009, allocations: 0 / 0.7496 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.346e-05/0.401, allocations: 91.42 kB / 0.7497 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.401, allocations: 0.9375 kB / 0.7497 GB, free: 17.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001795/0.4012, allocations: 12.38 kB / 0.7497 GB, free: 17.3 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 (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.0001596/0.4013, allocations: 112.1 kB / 0.7498 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.63e-05/0.4014, allocations: 23.86 kB / 0.7499 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4014, allocations: 1.469 kB / 0.7499 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.034e-06/0.4014, allocations: 3.938 kB / 0.7499 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.4017, allocations: 10.48 kB / 0.7499 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.4019, allocations: 136.5 kB / 0.75 GB, free: 17.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.408e-05/0.4019, allocations: 62.45 kB / 0.7501 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.402, allocations: 13.42 kB / 0.7501 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of SimCode: time 3.11e-07/0.402, allocations: 0 / 0.7501 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of Templates: time 0.002123/0.4041, allocations: 0.8304 MB / 0.7509 GB, free: 16.93 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.361914330162108] Failed to read output from testmodel.py, exit status != 0: 0.4096866175532341 0.419158787 0.018524526 Calling exit ...