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.0007709/0.0007709, 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.000786/0.000786, 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.874/0.874, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.6803/0.6803, allocations: 154.6 MB / 414.5 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: translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.6193 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.999e-05, allocations: 8.797 kB / 0.6193 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001471/0.001491, allocations: 1.286 MB / 0.6206 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.349/0.3505, allocations: 115.8 MB / 0.7337 GB, free: 28.32 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.37e-05/0.3506, allocations: 0 / 0.7337 GB, free: 28.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 1.891e-05/0.3506, allocations: 4.594 kB / 0.7337 GB, free: 28.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.597e-05/0.3506, allocations: 4.562 kB / 0.7337 GB, free: 28.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.3509, allocations: 55.91 kB / 0.7337 GB, free: 28.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.666e-05/0.351, allocations: 22.56 kB / 0.7337 GB, free: 28.28 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.351, allocations: 4.438 kB / 0.7337 GB, free: 28.28 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.777e-05/0.3511, allocations: 10.16 kB / 0.7338 GB, free: 28.28 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 5.886e-05/0.3512, allocations: 4.219 kB / 0.7338 GB, free: 28.28 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.3512, allocations: 0.5938 kB / 0.7338 GB, free: 28.28 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.3512, allocations: 31.36 kB / 0.7338 GB, free: 28.26 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.3513, allocations: 3.875 kB / 0.7338 GB, free: 28.26 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.002e-05/0.3513, allocations: 7.766 kB / 0.7338 GB, free: 28.26 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.3514, allocations: 26.94 kB / 0.7338 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3514, allocations: 1.5 kB / 0.7338 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3514, allocations: 0.5312 kB / 0.7338 GB, free: 28.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.3514, allocations: 0.5625 kB / 0.7338 GB, free: 28.25 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.0002917/0.3517, allocations: 261.3 kB / 0.7341 GB, free: 27.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.3517, allocations: 9.031 kB / 0.7341 GB, free: 27.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.3518, allocations: 10.36 kB / 0.7341 GB, free: 27.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.485e-05/0.3518, allocations: 110 kB / 0.7342 GB, free: 27.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.204e-05/0.3519, allocations: 59.25 kB / 0.7343 GB, free: 27.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.3519, allocations: 1.469 kB / 0.7343 GB, free: 27.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.492e-05/0.352, allocations: 40.11 kB / 0.7343 GB, free: 27.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.352, allocations: 192 / 0.7343 GB, free: 27.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.352, allocations: 384 / 0.7343 GB, free: 27.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.352, allocations: 7.938 kB / 0.7343 GB, free: 27.75 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.621e-05/0.352, allocations: 14.23 kB / 0.7343 GB, free: 27.74 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.814e-05/0.3521, allocations: 103.2 kB / 0.7344 GB, free: 27.62 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.087e-05/0.3522, allocations: 29.81 kB / 0.7344 GB, free: 27.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.3522, allocations: 16.7 kB / 0.7345 GB, free: 27.58 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.3523, allocations: 12.05 kB / 0.7345 GB, free: 27.58 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.311e-05/0.3523, allocations: 35.59 kB / 0.7345 GB, free: 27.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.3523, allocations: 0 / 0.7345 GB, free: 27.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001469/0.3525, allocations: 57.12 kB / 0.7346 GB, free: 27.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.76e-05/0.3525, allocations: 52.47 kB / 0.7346 GB, free: 27.44 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.659e-05/0.3525, allocations: 106.2 kB / 0.7347 GB, free: 27.33 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.548e-06/0.3525, allocations: 25.7 kB / 0.7347 GB, free: 27.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.724e-06/0.3525, allocations: 81.23 kB / 0.7348 GB, free: 27.21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.3526, allocations: 13.56 kB / 0.7348 GB, free: 27.21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/0.3526, allocations: 17.12 kB / 0.7348 GB, free: 27.19 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.537e-05/0.3526, allocations: 312.1 kB / 0.7351 GB, free: 26.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.201e-05/0.3526, allocations: 7.812 kB / 0.7351 GB, free: 26.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/0.3526, allocations: 12.5 kB / 0.7352 GB, free: 26.87 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.275e-05/0.3527, allocations: 22.05 kB / 0.7352 GB, free: 26.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3527, allocations: 4 kB / 0.7352 GB, free: 26.85 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.596e-05/0.3527, allocations: 49.88 kB / 0.7352 GB, free: 26.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.3528, allocations: 5.156 kB / 0.7352 GB, free: 26.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3528, allocations: 1.062 kB / 0.7352 GB, free: 26.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.3528, allocations: 0 / 0.7352 GB, free: 26.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.559e-05/0.3528, allocations: 8.625 kB / 0.7352 GB, free: 26.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3528, allocations: 3.938 kB / 0.7352 GB, free: 26.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.387e-05/0.3528, allocations: 5.156 kB / 0.7353 GB, free: 26.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.3528, allocations: 2.062 kB / 0.7353 GB, free: 26.81 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.343e-05/0.3529, allocations: 117.1 kB / 0.7354 GB, free: 26.69 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-06/0.3529, allocations: 7.938 kB / 0.7354 GB, free: 26.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.203e-05/0.353, allocations: 64.12 kB / 0.7354 GB, free: 26.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.353, allocations: 0 / 0.7354 GB, free: 26.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.353, allocations: 1.125 kB / 0.7354 GB, free: 26.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.353, allocations: 3.938 kB / 0.7354 GB, free: 26.63 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.379e-05/0.353, allocations: 107.7 kB / 0.7355 GB, free: 26.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.353, allocations: 1.281 kB / 0.7355 GB, free: 26.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.642e-05/0.353, allocations: 6.125 kB / 0.7356 GB, free: 26.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.353, allocations: 1.312 kB / 0.7356 GB, free: 26.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.353, allocations: 4 kB / 0.7356 GB, free: 26.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.353, allocations: 1.344 kB / 0.7356 GB, free: 26.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3531, allocations: 3.328 kB / 0.7356 GB, free: 26.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.36e-05/0.3531, allocations: 79.8 kB / 0.7356 GB, free: 26.42 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.719e-05/0.3531, allocations: 5.062 kB / 0.7356 GB, free: 26.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-06/0.3531, allocations: 0.9688 kB / 0.7356 GB, free: 26.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.093e-05/0.3532, allocations: 0.9688 kB / 0.7356 GB, free: 26.42 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.3532, allocations: 8.312 kB / 0.7357 GB, free: 26.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.3532, allocations: 1.125 kB / 0.7357 GB, free: 26.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.281e-05/0.3532, allocations: 81.75 kB / 0.7357 GB, free: 26.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.3532, allocations: 5.312 kB / 0.7357 GB, free: 26.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001231/0.3533, allocations: 7.562 kB / 0.7357 GB, free: 26.34 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.0001095/0.3534, allocations: 112 kB / 0.7358 GB, free: 26.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.195e-05/0.3535, allocations: 23.03 kB / 0.7359 GB, free: 26.24 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.3535, allocations: 1.344 kB / 0.7359 GB, free: 26.24 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.196e-05/0.3535, allocations: 9.141 kB / 0.7359 GB, free: 26.24 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001704/0.3537, allocations: 10.5 kB / 0.7359 GB, free: 26.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001987/0.3539, allocations: 145.4 kB / 0.736 GB, free: 26.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.056e-05/0.3539, allocations: 60.89 kB / 0.7361 GB, free: 26.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.776e-05/0.354, allocations: 14.25 kB / 0.7361 GB, free: 26.01 MB / 0.6355 GB Notification: Performance of SimCode: time 4.11e-07/0.354, allocations: 0 / 0.7361 GB, free: 26.01 MB / 0.6355 GB Notification: Performance of Templates: time 0.001297/0.3553, allocations: 0.5859 MB / 0.7367 GB, free: 25.98 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3622010592371225] Failed to read output from testmodel.py, exit status != 0: 0.36015197820961475 0.368513395 0.01519676 Calling exit ...