Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.001086/0.001086, allocations: 73.97 kB / 19.87 MB, free: 4.602 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.001122/0.001122, allocations: 169.7 kB / 23.27 MB, free: 1.203 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.967/0.967, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.7886/0.7886, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5207 GB, free: 1.941 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.432e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.008382/0.008406, allocations: 1.452 MB / 0.5221 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004741/0.00888, allocations: 222.9 kB / 0.5224 GB, free: 288 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.00892, allocations: 3.938 kB / 0.5224 GB, free: 284 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/0.008947, allocations: 0 / 0.5224 GB, free: 284 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.503e-05/0.009002, allocations: 9.109 kB / 0.5224 GB, free: 276 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.009225, allocations: 28.75 kB / 0.5224 GB, free: 248 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.265e-05/0.009287, allocations: 23.92 kB / 0.5224 GB, free: 224 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.79e-05/0.009375, allocations: 4.656 kB / 0.5224 GB, free: 220 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.752e-05/0.009433, allocations: 15.97 kB / 0.5224 GB, free: 204 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.782e-05/0.009471, allocations: 16.48 kB / 0.5225 GB, free: 188 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.009484, allocations: 0 / 0.5225 GB, free: 188 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.881e-05/0.009573, allocations: 28.61 kB / 0.5225 GB, free: 160 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.009586, allocations: 0.875 kB / 0.5225 GB, free: 160 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.76e-05/0.009604, allocations: 11.98 kB / 0.5225 GB, free: 148 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.009724, allocations: 39.83 kB / 0.5225 GB, free: 108 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.009728, allocations: 4.875 kB / 0.5225 GB, free: 104 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.009729, allocations: 4 kB / 0.5225 GB, free: 100 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.009733, allocations: 1.75 kB / 0.5225 GB, free: 100 kB / 490.7 MB 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.0003568/0.01009, allocations: 364.5 kB / 0.5229 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.01013, allocations: 11.97 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.01028, allocations: 12.92 kB / 0.5229 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.816e-05/0.01036, allocations: 110.4 kB / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.01037, allocations: 8.375 kB / 0.523 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-06/0.01038, allocations: 384 / 0.523 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.986e-05/0.01048, allocations: 50.95 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.01049, allocations: 0.9375 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-06/0.01049, allocations: 384 / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.0105, allocations: 1.781 kB / 0.5231 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.428e-05/0.01052, allocations: 11.92 kB / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.01077, allocations: 236.3 kB / 0.5233 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.607e-05/0.01081, allocations: 28.31 kB / 0.5233 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.01083, allocations: 11.73 kB / 0.5234 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.01085, allocations: 12.05 kB / 0.5234 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.01087, allocations: 35.45 kB / 0.5234 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.01087, allocations: 0 / 0.5234 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0001348/0.01101, allocations: 41.58 kB / 0.5234 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.01103, allocations: 51.41 kB / 0.5235 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.376e-05/0.01111, allocations: 165.9 kB / 0.5237 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.01112, allocations: 31.64 kB / 0.5237 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.01116, allocations: 126.9 kB / 0.5238 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.01118, allocations: 7.953 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.01121, allocations: 23.36 kB / 0.5238 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.01133, allocations: 496.1 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.338e-05/0.01135, allocations: 0.5625 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.12e-05/0.01136, allocations: 5 kB / 0.5243 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.825e-05/0.01139, allocations: 11.69 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01139, allocations: 0.875 kB / 0.5243 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.03e-05/0.01145, allocations: 41.64 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.01146, allocations: 12.92 kB / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.01147, allocations: 0 / 0.5244 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.01148, allocations: 4.969 kB / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.695e-05/0.01154, allocations: 8 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-06/0.01154, allocations: 0 / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.01155, allocations: 5.484 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.01156, allocations: 4 kB / 0.5244 GB, free: 14.02 MB / 0.4948 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 (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 prepare postOptimizeDAE: time 5.678e-05/0.01162, allocations: 156.6 kB / 0.5245 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.01163, allocations: 1.062 kB / 0.5245 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.296e-05/0.01171, allocations: 52.53 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01171, allocations: 8.625 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.01171, allocations: 0 / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.01172, allocations: 1.281 kB / 0.5246 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.859e-05/0.01181, allocations: 101.2 kB / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01181, allocations: 0 / 0.5247 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.932e-05/0.01184, allocations: 15.06 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.01184, allocations: 0 / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-06/0.01184, allocations: 0 / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01184, allocations: 0 / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.01184, allocations: 0 / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.875e-05/0.01193, allocations: 187.9 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.322e-06/0.01194, allocations: 3.953 kB / 0.5249 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.01195, allocations: 7.984 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.003e-05/0.01198, allocations: 4 kB / 0.5249 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.01201, allocations: 10.97 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.01201, allocations: 3.938 kB / 0.5249 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.052e-05/0.01205, allocations: 123.2 kB / 0.525 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.01205, allocations: 4 kB / 0.525 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001284/0.01218, allocations: 4 kB / 0.5251 GB, free: 13.3 MB / 0.4948 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.789e-05/0.01227, allocations: 91.25 kB / 0.5251 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.919e-05/0.01233, allocations: 21.17 kB / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01233, allocations: 0 / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-05/0.01234, allocations: 11.69 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.01252, allocations: 13.88 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006684/0.01319, allocations: 139.1 kB / 0.5253 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.112e-05/0.01322, allocations: 59.3 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.305e-05/0.01324, allocations: 3.938 kB / 0.5254 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.0133, allocations: 80.62 kB / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of SimCode: time 8.81e-07/0.0133, allocations: 0 / 0.5255 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of Templates: time 0.002215/0.01551, allocations: 0.6915 MB / 0.5261 GB, free: 12.17 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.778001437895]