Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.0007421/0.0007421, 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.0007592/0.0007592, allocations: 178.2 kB / 23.22 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.8902/0.8902, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.7012/0.7012, allocations: 154.6 MB / 414.5 MB, free: 0.8047 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.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") translateModel(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.123e-06/1.123e-06, allocations: 0 / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.676e-05/1.789e-05, allocations: 10.11 kB / 0.6193 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002115/0.002133, allocations: 2.072 MB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.003721, allocations: 1.309 MB / 0.6226 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.148e-05/0.003793, allocations: 4 kB / 0.6227 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004823/0.004275, allocations: 239 kB / 0.6229 GB, free: 9.492 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006444/0.00492, allocations: 438.4 kB / 0.6233 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 7.163e-06/0.004927, allocations: 11.94 kB / 0.6233 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.005164, allocations: 402.4 kB / 0.6237 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.005213, allocations: 16.52 kB / 0.6237 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.005335, allocations: 187.5 kB / 0.6239 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.00548, allocations: 187.3 kB / 0.6241 GB, free: 8.27 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.005503, allocations: 24 kB / 0.6241 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003133/0.005816, allocations: 287.5 kB / 0.6244 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.006018, allocations: 379.2 kB / 0.6247 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.006133, allocations: 203.4 kB / 0.6249 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0008214/0.006954, allocations: 0.8527 MB / 0.6258 GB, free: 6.539 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.006956, allocations: 3.938 kB / 0.6258 GB, free: 6.535 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.41e-07/0.006957, allocations: 4 kB / 0.6258 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.006962, allocations: 0 / 0.6258 GB, free: 6.531 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000731/0.007693, allocations: 0.8724 MB / 0.6266 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.007727, allocations: 8.031 kB / 0.6266 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003944/0.008121, allocations: 132.3 kB / 0.6267 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006702/0.008791, allocations: 0.8614 MB / 0.6276 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.008808, allocations: 12.38 kB / 0.6276 GB, free: 4.586 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.00883, allocations: 16.38 kB / 0.6276 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.009344, allocations: 0.6313 MB / 0.6282 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.009353, allocations: 192 / 0.6282 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.009369, allocations: 4.375 kB / 0.6282 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-06/0.009378, allocations: 7.938 kB / 0.6282 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007761/0.01015, allocations: 1.105 MB / 0.6293 GB, free: 2.816 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.01165, allocations: 1.914 MB / 0.6312 GB, free: 0.8672 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/0.0121, allocations: 326.7 kB / 0.6315 GB, free: 0.5391 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.0123, allocations: 224.8 kB / 0.6317 GB, free: 324 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.368e-05/0.01233, allocations: 19.98 kB / 0.6317 GB, free: 304 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.01235, allocations: 38.56 kB / 0.6318 GB, free: 256 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=19): time 1.442e-06/0.01235, allocations: 0 / 0.6318 GB, free: 256 kB / 0.5886 GB Notification: Performance of matching and sorting (n=19): time 0.001012/0.01337, allocations: 0.7018 MB / 0.6325 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.0134, allocations: 59.34 kB / 0.6325 GB, free: 15.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.01491, allocations: 2.063 MB / 0.6345 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.01494, allocations: 29.7 kB / 0.6346 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.01511, allocations: 328.2 kB / 0.6349 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.01515, allocations: 67.44 kB / 0.6349 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/0.01522, allocations: 61.64 kB / 0.635 GB, free: 12.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.389e-05/0.01529, allocations: 314 kB / 0.6353 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/0.01567, allocations: 0.531 MB / 0.6358 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/0.01606, allocations: 0.5573 MB / 0.6364 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005816/0.01664, allocations: 0.7652 MB / 0.6371 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01665, allocations: 0 / 0.6371 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008921/0.01754, allocations: 1.213 MB / 0.6383 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.01756, allocations: 6.5 kB / 0.6383 GB, free: 9.508 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01756, allocations: 4 kB / 0.6383 GB, free: 9.504 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.01758, allocations: 0 / 0.6383 GB, free: 9.504 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.01774, allocations: 71.77 kB / 0.6384 GB, free: 9.434 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.01775, allocations: 7.984 kB / 0.6384 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.0179, allocations: 31.83 kB / 0.6384 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.01791, allocations: 8 kB / 0.6384 GB, free: 9.387 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (30): * Single equations (assignments): 30 * 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 0.0001875/0.0181, allocations: 282.6 kB / 0.6387 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.418e-05/0.01815, allocations: 63.58 kB / 0.6387 GB, free: 9.039 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008277/0.01898, allocations: 0.5364 MB / 0.6393 GB, free: 8.496 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.01898, allocations: 0 / 0.6393 GB, free: 8.496 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01899, allocations: 7.938 kB / 0.6393 GB, free: 8.488 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01899, allocations: 0 / 0.6393 GB, free: 8.488 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.02073, allocations: 2.465 MB / 0.6417 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.02073, allocations: 7.984 kB / 0.6417 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.02084, allocations: 47.91 kB / 0.6417 GB, free: 5.875 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.02085, allocations: 4 kB / 0.6417 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.02086, allocations: 12 kB / 0.6417 GB, free: 5.859 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.603e-06/0.02087, allocations: 15.86 kB / 0.6418 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.02087, allocations: 8.344 kB / 0.6418 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005201/0.02139, allocations: 0.6508 MB / 0.6424 GB, free: 5.113 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.618e-05/0.02147, allocations: 83.5 kB / 0.6425 GB, free: 5.031 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.486e-05/0.02151, allocations: 8 kB / 0.6425 GB, free: 5.023 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.02165, allocations: 27.91 kB / 0.6425 GB, free: 4.996 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.02169, allocations: 27.86 kB / 0.6425 GB, free: 4.969 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.0217, allocations: 15.98 kB / 0.6426 GB, free: 4.953 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009556/0.02266, allocations: 1.585 MB / 0.6441 GB, free: 3.371 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.02266, allocations: 0 / 0.6441 GB, free: 3.371 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003472/0.023, allocations: 175.8 kB / 0.6443 GB, free: 3.199 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (19): * Single equations (assignments): 19 * 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.0002326/0.02324, allocations: 171 kB / 0.6444 GB, free: 3.023 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006421/0.02388, allocations: 0.7697 MB / 0.6452 GB, free: 2.254 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02388, allocations: 0 / 0.6452 GB, free: 2.254 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.02408, allocations: 224.8 kB / 0.6454 GB, free: 2.035 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.02458, allocations: 174.9 kB / 0.6456 GB, free: 1.863 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.02609, allocations: 1.41 MB / 0.6469 GB, free: 372 kB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.02629, allocations: 328.6 kB / 0.6473 GB, free: 16 kB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.0264, allocations: 48.48 kB / 0.6473 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of SimCode: time 8.02e-07/0.0264, allocations: 0 / 0.6473 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.007229/0.03363, allocations: 8.904 MB / 0.656 GB, free: 7.133 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & ./IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.251864000223577] Failed to read output from testmodel.py, exit status != 0: 0.038545750081539154 0.046137618000000005 0.037580981 Calling exit ...