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.001143/0.001143, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001372/0.001372, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.02/1.02, allocations: 177.1 MB / 203.8 MB, free: 5.477 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-545:108: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-545:116: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.7785/0.7785, allocations: 154.6 MB / 414.8 MB, free: 484 kB / 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.012e-06/1.012e-06, allocations: 0 / 480 MB, free: 6.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.594e-05, allocations: 2.312 kB / 480 MB, free: 6.906 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001518/0.001533, allocations: 1.341 MB / 481.3 MB, free: 5.59 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1191/0.1206, allocations: 127.1 MB / 0.5942 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.768e-05/0.1207, allocations: 3.938 kB / 0.5942 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.092e-05/0.1207, allocations: 0 / 0.5942 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.072e-05/0.1207, allocations: 7.938 kB / 0.5942 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.1211, allocations: 55.67 kB / 0.5943 GB, free: 6.32 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.146e-05/0.1211, allocations: 19.86 kB / 0.5943 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.426e-05/0.1212, allocations: 4 kB / 0.5943 GB, free: 6.297 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.066e-05/0.1212, allocations: 19.92 kB / 0.5943 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.147e-05/0.1213, allocations: 7.984 kB / 0.5943 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.1213, allocations: 4 kB / 0.5943 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 6.687e-05/0.1214, allocations: 15.94 kB / 0.5943 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.1214, allocations: 7.969 kB / 0.5943 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.454e-05/0.1214, allocations: 8 kB / 0.5943 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 8.673e-05/0.1215, allocations: 15.98 kB / 0.5944 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1215, allocations: 0 / 0.5944 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1215, allocations: 4 kB / 0.5944 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.1215, allocations: 0 / 0.5944 GB, free: 6.215 MB / 0.5573 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.000266/0.1218, allocations: 240.6 kB / 0.5946 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.1218, allocations: 8.031 kB / 0.5946 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.1218, allocations: 8.938 kB / 0.5946 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.73e-05/0.1219, allocations: 110 kB / 0.5947 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.122, allocations: 63.91 kB / 0.5948 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.122, allocations: 4.312 kB / 0.5948 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.7e-05/0.122, allocations: 46.95 kB / 0.5948 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.122, allocations: 192 / 0.5948 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-06/0.122, allocations: 4.375 kB / 0.5948 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1221, allocations: 4.125 kB / 0.5948 GB, free: 5.664 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.673e-05/0.1221, allocations: 11.97 kB / 0.5948 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.144e-05/0.1222, allocations: 57.05 kB / 0.5949 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.44e-05/0.1222, allocations: 30.52 kB / 0.5949 GB, free: 5.543 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.274e-05/0.1222, allocations: 8.859 kB / 0.5949 GB, free: 5.531 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.81e-05/0.1223, allocations: 12.75 kB / 0.5949 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1223, allocations: 34.56 kB / 0.595 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.1223, allocations: 0 / 0.595 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 9.329e-05/0.1224, allocations: 37.69 kB / 0.595 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.1225, allocations: 51.41 kB / 0.5951 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.927e-05/0.1225, allocations: 110.7 kB / 0.5952 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.1225, allocations: 29.7 kB / 0.5952 GB, free: 5.215 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.129e-05/0.1225, allocations: 88.08 kB / 0.5953 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.1226, allocations: 3.953 kB / 0.5953 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.1226, allocations: 13.72 kB / 0.5953 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.1227, allocations: 318.8 kB / 0.5956 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.105e-05/0.1227, allocations: 7.984 kB / 0.5956 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.893e-06/0.1227, allocations: 0 / 0.5956 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.25e-05/0.1227, allocations: 12.86 kB / 0.5956 GB, free: 4.758 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1227, allocations: 0 / 0.5956 GB, free: 4.758 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.315e-05/0.1227, allocations: 41.69 kB / 0.5957 GB, free: 4.711 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.1228, allocations: 4 kB / 0.5957 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1228, allocations: 0 / 0.5957 GB, free: 4.707 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1228, allocations: 4 kB / 0.5957 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.55e-05/0.1228, allocations: 15.92 kB / 0.5957 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.1228, allocations: 0 / 0.5957 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.283e-05/0.1228, allocations: 0 / 0.5957 GB, free: 4.688 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.1228, allocations: 3.938 kB / 0.5957 GB, free: 4.684 MB / 0.5573 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 4.938e-05/0.1229, allocations: 109.8 kB / 0.5958 GB, free: 4.566 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-06/0.1229, allocations: 0 / 0.5958 GB, free: 4.566 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.251e-05/0.123, allocations: 49.38 kB / 0.5958 GB, free: 4.512 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.123, allocations: 4.547 kB / 0.5958 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.123, allocations: 3.938 kB / 0.5958 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.123, allocations: 0 / 0.5958 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.31e-05/0.123, allocations: 69.8 kB / 0.5959 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.123, allocations: 4 kB / 0.5959 GB, free: 4.414 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.465e-05/0.123, allocations: 4 kB / 0.5959 GB, free: 4.41 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-06/0.123, allocations: 3.938 kB / 0.5959 GB, free: 4.406 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.123, allocations: 4 kB / 0.5959 GB, free: 4.402 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.123, allocations: 0 / 0.5959 GB, free: 4.402 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.123, allocations: 7.969 kB / 0.5959 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.934e-05/0.1231, allocations: 69.06 kB / 0.596 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.1231, allocations: 3.984 kB / 0.596 GB, free: 4.305 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-06/0.1231, allocations: 8 kB / 0.596 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.1231, allocations: 0 / 0.596 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.1232, allocations: 3.984 kB / 0.596 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.1232, allocations: 0 / 0.596 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.937e-06/0.1232, allocations: 8.859 kB / 0.596 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.1232, allocations: 0 / 0.596 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of remove unused functions: time 9.875e-05/0.1233, allocations: 11.94 kB / 0.596 GB, free: 4.27 MB / 0.5573 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.0001123/0.1234, allocations: 92.34 kB / 0.5961 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 5.353e-05/0.1234, allocations: 16.8 kB / 0.5961 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1234, allocations: 0 / 0.5961 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 1.395e-05/0.1235, allocations: 16.86 kB / 0.5962 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.706e-05/0.1235, allocations: 11.92 kB / 0.5962 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.124, allocations: 146.4 kB / 0.5963 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.691e-05/0.124, allocations: 59.34 kB / 0.5964 GB, free: 3.871 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.374e-05/0.124, allocations: 3.984 kB / 0.5964 GB, free: 3.867 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.1241, allocations: 55.38 kB / 0.5964 GB, free: 3.812 MB / 0.5573 GB Notification: Performance of SimCode: time 7.52e-07/0.1241, allocations: 4 kB / 0.5964 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of Templates: time 0.002486/0.1265, allocations: 0.5854 MB / 0.597 GB, free: 3.234 MB / 0.5573 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6902009421028197]