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.0008993/0.0008993, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.0009631/0.0009631, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 1.065/1.065, allocations: 177.1 MB / 204.5 MB, free: 5.504 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-535:34: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-535:42: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.799/0.799, allocations: 154.9 MB / 415.9 MB, free: 284 kB / 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: translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5219 GB, free: 1.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.481e-05, allocations: 3.062 kB / 0.5219 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001974/0.001998, allocations: 1.323 MB / 0.5232 GB, free: 224 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.1195/0.1215, allocations: 125.2 MB / 0.6454 GB, free: 2.758 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.1215, allocations: 0 / 0.6454 GB, free: 2.758 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.1216, allocations: 0 / 0.6454 GB, free: 2.758 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.966e-05/0.1216, allocations: 11.92 kB / 0.6454 GB, free: 2.746 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.122, allocations: 59.61 kB / 0.6455 GB, free: 2.688 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.948e-05/0.122, allocations: 27.86 kB / 0.6455 GB, free: 2.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.366e-05/0.1221, allocations: 4 kB / 0.6455 GB, free: 2.656 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.477e-05/0.1221, allocations: 11.98 kB / 0.6455 GB, free: 2.645 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.352e-05/0.1222, allocations: 11.92 kB / 0.6456 GB, free: 2.633 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.1222, allocations: 0 / 0.6456 GB, free: 2.633 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.637e-05/0.1223, allocations: 15.98 kB / 0.6456 GB, free: 2.617 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.1223, allocations: 4 kB / 0.6456 GB, free: 2.613 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.444e-05/0.1223, allocations: 7.938 kB / 0.6456 GB, free: 2.605 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.8e-05/0.1224, allocations: 31.84 kB / 0.6456 GB, free: 2.574 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1224, allocations: 0 / 0.6456 GB, free: 2.574 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1224, allocations: 0 / 0.6456 GB, free: 2.574 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1224, allocations: 0 / 0.6456 GB, free: 2.574 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.0003323/0.1227, allocations: 364.6 kB / 0.646 GB, free: 2.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1228, allocations: 8.031 kB / 0.646 GB, free: 2.172 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.1229, allocations: 16.88 kB / 0.646 GB, free: 2.156 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.394e-05/0.123, allocations: 116.6 kB / 0.6461 GB, free: 2.016 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.123, allocations: 51.97 kB / 0.6461 GB, free: 1.953 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.091e-06/0.123, allocations: 4.375 kB / 0.6461 GB, free: 1.949 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.491e-05/0.1231, allocations: 46.95 kB / 0.6462 GB, free: 1.895 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.1231, allocations: 192 / 0.6462 GB, free: 1.895 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.239e-06/0.1231, allocations: 384 / 0.6462 GB, free: 1.895 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1231, allocations: 8.125 kB / 0.6462 GB, free: 1.887 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.617e-05/0.1232, allocations: 7.938 kB / 0.6462 GB, free: 1.879 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.1233, allocations: 101.2 kB / 0.6463 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.476e-05/0.1233, allocations: 27.06 kB / 0.6463 GB, free: 1.715 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.477e-05/0.1233, allocations: 11.69 kB / 0.6463 GB, free: 1.699 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/0.1233, allocations: 0 / 0.6463 GB, free: 1.699 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.1234, allocations: 41.53 kB / 0.6464 GB, free: 1.648 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.1234, allocations: 3.984 kB / 0.6464 GB, free: 1.645 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001129/0.1235, allocations: 49.58 kB / 0.6464 GB, free: 1.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.1235, allocations: 55.41 kB / 0.6465 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/0.1236, allocations: 161.9 kB / 0.6466 GB, free: 1.348 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.1236, allocations: 25.7 kB / 0.6467 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.1237, allocations: 126.9 kB / 0.6468 GB, free: 1.188 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.1237, allocations: 7.953 kB / 0.6468 GB, free: 1.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.1237, allocations: 19.38 kB / 0.6468 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1238, allocations: 0.4922 MB / 0.6473 GB, free: 0.6484 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.42e-05/0.1239, allocations: 4 kB / 0.6473 GB, free: 0.6445 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.051e-05/0.1239, allocations: 7.938 kB / 0.6473 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/0.1239, allocations: 15.69 kB / 0.6473 GB, free: 0.6172 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1239, allocations: 4 kB / 0.6473 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.625e-05/0.124, allocations: 45.62 kB / 0.6474 GB, free: 0.5625 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.124, allocations: 4 kB / 0.6474 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.124, allocations: 0 / 0.6474 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.974e-06/0.124, allocations: 0 / 0.6474 GB, free: 0.5586 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/0.124, allocations: 4 kB / 0.6474 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.124, allocations: 0 / 0.6474 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.1241, allocations: 7.938 kB / 0.6474 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-06/0.1241, allocations: 0 / 0.6474 GB, free: 0.5469 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.301e-05/0.1241, allocations: 160.6 kB / 0.6475 GB, free: 388 kB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.115e-06/0.1241, allocations: 11.95 kB / 0.6475 GB, free: 376 kB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.827e-05/0.1242, allocations: 3.688 kB / 0.6475 GB, free: 368 kB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1242, allocations: 0 / 0.6475 GB, free: 368 kB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.1242, allocations: 0 / 0.6475 GB, free: 368 kB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1242, allocations: 0 / 0.6475 GB, free: 368 kB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.1243, allocations: 105.2 kB / 0.6476 GB, free: 236 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1243, allocations: 0 / 0.6476 GB, free: 236 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/0.1243, allocations: 11.92 kB / 0.6477 GB, free: 224 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1243, allocations: 4 kB / 0.6477 GB, free: 220 kB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-06/0.1243, allocations: 0 / 0.6477 GB, free: 220 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.1243, allocations: 0 / 0.6477 GB, free: 220 kB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1243, allocations: 4 kB / 0.6477 GB, free: 216 kB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.871e-05/0.1244, allocations: 80.38 kB / 0.6477 GB, free: 112 kB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.712e-05/0.1244, allocations: 4.562 kB / 0.6477 GB, free: 108 kB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.615e-06/0.1245, allocations: 0 / 0.6477 GB, free: 108 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.093e-05/0.1245, allocations: 0 / 0.6477 GB, free: 108 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.811e-05/0.1245, allocations: 3.984 kB / 0.6478 GB, free: 104 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.1245, allocations: 0 / 0.6478 GB, free: 104 kB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.074e-05/0.1245, allocations: 131.2 kB / 0.6479 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1245, allocations: 0 / 0.6479 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001133/0.1247, allocations: 4 kB / 0.6479 GB, free: 15.97 MB / 0.6198 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.0001072/0.1248, allocations: 107.2 kB / 0.648 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.045e-05/0.1248, allocations: 19.67 kB / 0.648 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1248, allocations: 0 / 0.648 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.618e-05/0.1249, allocations: 15.62 kB / 0.648 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.125, allocations: 11.92 kB / 0.648 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/0.1255, allocations: 150.2 kB / 0.6482 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.826e-05/0.1255, allocations: 51.36 kB / 0.6482 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.199e-05/0.1255, allocations: 8 kB / 0.6482 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.33e-05/0.1256, allocations: 74.19 kB / 0.6483 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of SimCode: time 7.91e-07/0.1256, allocations: 0 / 0.6483 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of Templates: time 0.002113/0.1277, allocations: 0.5439 MB / 0.6488 GB, free: 14.95 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9429741268977523]