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.0009656/0.0009656, allocations: 80.88 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.000998/0.000998, 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 0.9809/0.9809, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.7839/0.7839, allocations: 154.9 MB / 415.1 MB, free: 228 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.573e-06/1.573e-06, allocations: 0 / 480.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.433e-05/1.59e-05, allocations: 2.969 kB / 480.4 MB, free: 6.52 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.004355/0.004371, allocations: 1.32 MB / 481.7 MB, free: 5.223 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.1156/0.1199, allocations: 127.1 MB / 0.5945 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.374e-05/0.12, allocations: 0 / 0.5945 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.12, allocations: 4 kB / 0.5945 GB, free: 6.016 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 5.337e-05/0.12, allocations: 11.92 kB / 0.5946 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.1204, allocations: 59.61 kB / 0.5946 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.029e-05/0.1205, allocations: 27.86 kB / 0.5946 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.1205, allocations: 3.984 kB / 0.5946 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 6.206e-05/0.1206, allocations: 8 kB / 0.5947 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 5.288e-05/0.1206, allocations: 7.984 kB / 0.5947 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.1206, allocations: 0 / 0.5947 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 7.123e-05/0.1207, allocations: 23.92 kB / 0.5947 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.1207, allocations: 7.938 kB / 0.5947 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.441e-05/0.1207, allocations: 4 kB / 0.5947 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 9.671e-05/0.1208, allocations: 31.91 kB / 0.5947 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1208, allocations: 0 / 0.5947 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.434e-06/0.1208, allocations: 3.984 kB / 0.5947 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.1208, allocations: 0 / 0.5947 GB, free: 5.828 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.0002761/0.1211, allocations: 224.6 kB / 0.5949 GB, free: 5.582 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1212, allocations: 12.03 kB / 0.595 GB, free: 5.57 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.1213, allocations: 17.22 kB / 0.595 GB, free: 5.555 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.084e-05/0.1214, allocations: 113.7 kB / 0.5951 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.055e-05/0.1214, allocations: 59.97 kB / 0.5951 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.1214, allocations: 384 / 0.5951 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.927e-05/0.1215, allocations: 50.89 kB / 0.5952 GB, free: 5.289 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.1215, allocations: 192 / 0.5952 GB, free: 5.289 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1215, allocations: 4.375 kB / 0.5952 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.1215, allocations: 4.125 kB / 0.5952 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.513e-05/0.1215, allocations: 4 kB / 0.5952 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.592e-05/0.1216, allocations: 68.97 kB / 0.5953 GB, free: 5.195 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.042e-05/0.1217, allocations: 18.58 kB / 0.5953 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.226e-05/0.1217, allocations: 12.86 kB / 0.5953 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.1217, allocations: 0 / 0.5953 GB, free: 5.152 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.1217, allocations: 38.5 kB / 0.5953 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.1217, allocations: 0 / 0.5953 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 9.126e-05/0.1218, allocations: 37.83 kB / 0.5954 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.1218, allocations: 55.41 kB / 0.5954 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.812e-05/0.1219, allocations: 106.7 kB / 0.5955 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.1219, allocations: 25.7 kB / 0.5955 GB, free: 4.848 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.968e-05/0.1219, allocations: 84.12 kB / 0.5956 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.1219, allocations: 3.953 kB / 0.5956 GB, free: 4.758 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/0.122, allocations: 17.72 kB / 0.5956 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.122, allocations: 314.8 kB / 0.5959 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.122, allocations: 4 kB / 0.596 GB, free: 4.414 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.998e-06/0.1221, allocations: 12.3 kB / 0.596 GB, free: 4.402 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.252e-05/0.1221, allocations: 12.94 kB / 0.596 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1221, allocations: 0 / 0.596 GB, free: 4.387 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.359e-05/0.1221, allocations: 41.69 kB / 0.596 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.1221, allocations: 8 kB / 0.596 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1221, allocations: 0 / 0.596 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1221, allocations: 0 / 0.596 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.458e-05/0.1222, allocations: 8 kB / 0.596 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.1222, allocations: 0 / 0.596 GB, free: 4.324 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.1222, allocations: 15.94 kB / 0.596 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1222, allocations: 3.938 kB / 0.5961 GB, free: 4.305 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 5.41e-05/0.1223, allocations: 113.8 kB / 0.5962 GB, free: 4.184 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.941e-06/0.1223, allocations: 4 kB / 0.5962 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.84e-05/0.1223, allocations: 7.688 kB / 0.5962 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1223, allocations: 0 / 0.5962 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.1223, allocations: 0 / 0.5962 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1223, allocations: 0 / 0.5962 GB, free: 4.168 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.214e-05/0.1224, allocations: 73.83 kB / 0.5962 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.1224, allocations: 0 / 0.5962 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.1224, allocations: 8 kB / 0.5962 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.02e-07/0.1224, allocations: 0 / 0.5962 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-06/0.1224, allocations: 3.938 kB / 0.5963 GB, free: 4.066 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.1224, allocations: 0 / 0.5963 GB, free: 4.066 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1224, allocations: 0 / 0.5963 GB, free: 4.066 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.86e-05/0.1225, allocations: 65.06 kB / 0.5963 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.1225, allocations: 3.938 kB / 0.5963 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-06/0.1225, allocations: 11.94 kB / 0.5963 GB, free: 3.969 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.154e-05/0.1225, allocations: 3.984 kB / 0.5963 GB, free: 3.965 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.1225, allocations: 4 kB / 0.5963 GB, free: 3.961 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.1225, allocations: 0 / 0.5963 GB, free: 3.961 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 9.919e-06/0.1225, allocations: 8.859 kB / 0.5963 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.1225, allocations: 0 / 0.5963 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of remove unused functions: time 9.407e-05/0.1226, allocations: 4 kB / 0.5963 GB, free: 3.945 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 8.69e-05/0.1227, allocations: 80.41 kB / 0.5964 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.27e-05/0.1228, allocations: 16.86 kB / 0.5964 GB, free: 3.836 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1228, allocations: 0 / 0.5964 GB, free: 3.836 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.245e-05/0.1228, allocations: 24.78 kB / 0.5965 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001087/0.1229, allocations: 15.92 kB / 0.5965 GB, free: 3.793 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.1234, allocations: 138.8 kB / 0.5966 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.935e-05/0.1234, allocations: 59.3 kB / 0.5967 GB, free: 3.555 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 2.848e-05/0.1234, allocations: 12.39 kB / 0.5967 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.1235, allocations: 55.38 kB / 0.5967 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of SimCode: time 7.41e-07/0.1235, allocations: 0 / 0.5967 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of Templates: time 0.001954/0.1254, allocations: 0.5125 MB / 0.5972 GB, free: 2.992 MB / 0.5573 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.7426094710826874]