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.001353/0.001353, allocations: 73.97 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.001494/0.001494, allocations: 169.4 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.063/1.063, allocations: 177.1 MB / 204.5 MB, free: 5.129 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.8014/0.8014, allocations: 154.6 MB / 415.6 MB, free: 0.5156 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.764e-06/1.764e-06, allocations: 0 / 0.5215 GB, free: 1.941 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.675e-05, allocations: 2.312 kB / 0.5215 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003532/0.003559, allocations: 2.193 MB / 0.5237 GB, free: 15.75 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.002705/0.006264, allocations: 1.349 MB / 0.525 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.006409, allocations: 0 / 0.525 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.0007099/0.007118, allocations: 247.5 kB / 0.5252 GB, free: 14.16 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.00817, allocations: 453 kB / 0.5257 GB, free: 13.72 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 7.053e-06/0.008177, allocations: 0 / 0.5257 GB, free: 13.72 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.0004256/0.008603, allocations: 399.5 kB / 0.526 GB, free: 13.33 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 6.466e-05/0.008667, allocations: 16.56 kB / 0.5261 GB, free: 13.32 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.008884, allocations: 195.3 kB / 0.5262 GB, free: 13.12 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.009159, allocations: 188.1 kB / 0.5264 GB, free: 12.94 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 3.912e-05/0.009198, allocations: 20 kB / 0.5264 GB, free: 12.92 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005336/0.009732, allocations: 280.7 kB / 0.5267 GB, free: 12.65 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0003164/0.01005, allocations: 383.2 kB / 0.5271 GB, free: 12.27 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0002108/0.01026, allocations: 199.4 kB / 0.5273 GB, free: 12.08 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.000757/0.01102, allocations: 0.6397 MB / 0.5279 GB, free: 11.44 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.01102, allocations: 0 / 0.5279 GB, free: 11.44 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.032e-06/0.01102, allocations: 0 / 0.5279 GB, free: 11.44 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.01103, allocations: 0 / 0.5279 GB, free: 11.44 MB / 0.4949 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.001165/0.01219, allocations: 1.012 MB / 0.5289 GB, free: 10.39 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.01223, allocations: 8.031 kB / 0.5289 GB, free: 10.38 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004941/0.01273, allocations: 135.1 kB / 0.529 GB, free: 10.25 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/0.01328, allocations: 481 kB / 0.5295 GB, free: 9.754 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.0133, allocations: 12.38 kB / 0.5295 GB, free: 9.742 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.01333, allocations: 12.38 kB / 0.5295 GB, free: 9.73 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.01364, allocations: 157.9 kB / 0.5297 GB, free: 9.57 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.01365, allocations: 8.125 kB / 0.5297 GB, free: 9.562 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.01368, allocations: 4.375 kB / 0.5297 GB, free: 9.559 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.01369, allocations: 7.938 kB / 0.5297 GB, free: 9.551 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002602/0.01395, allocations: 129.9 kB / 0.5298 GB, free: 9.426 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.01537, allocations: 0.9307 MB / 0.5307 GB, free: 8.473 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.01571, allocations: 135.9 kB / 0.5308 GB, free: 8.328 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.552e-05/0.01581, allocations: 52.62 kB / 0.5309 GB, free: 8.273 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 5.315e-05/0.01586, allocations: 31.42 kB / 0.5309 GB, free: 8.246 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.01589, allocations: 41.39 kB / 0.531 GB, free: 8.195 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=19): time 1.964e-06/0.01589, allocations: 0 / 0.531 GB, free: 8.195 MB / 0.4949 GB Notification: Performance of matching and sorting (n=19): time 0.0004499/0.01634, allocations: 211 kB / 0.5312 GB, free: 7.984 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.01638, allocations: 55.41 kB / 0.5312 GB, free: 7.918 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.01767, allocations: 0.9756 MB / 0.5322 GB, free: 6.926 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.01769, allocations: 29.7 kB / 0.5322 GB, free: 6.891 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.01802, allocations: 410.8 kB / 0.5326 GB, free: 6.484 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.01807, allocations: 73.97 kB / 0.5327 GB, free: 6.414 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.01818, allocations: 63.34 kB / 0.5327 GB, free: 6.344 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.01832, allocations: 496.4 kB / 0.5332 GB, free: 5.852 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.01845, allocations: 55.95 kB / 0.5332 GB, free: 5.797 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.01861, allocations: 87.31 kB / 0.5333 GB, free: 5.703 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.01887, allocations: 137.5 kB / 0.5335 GB, free: 5.562 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.01888, allocations: 0.75 kB / 0.5335 GB, free: 5.562 MB / 0.4949 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005521/0.01943, allocations: 287.6 kB / 0.5337 GB, free: 5.277 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.01946, allocations: 8 kB / 0.5337 GB, free: 5.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.01947, allocations: 0 / 0.5337 GB, free: 5.27 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.01948, allocations: 0.75 kB / 0.5337 GB, free: 5.27 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.01979, allocations: 55.97 kB / 0.5338 GB, free: 5.215 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.0198, allocations: 5.781 kB / 0.5338 GB, free: 5.211 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.02007, allocations: 31.83 kB / 0.5338 GB, free: 5.18 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.0201, allocations: 11.98 kB / 0.5338 GB, free: 5.168 MB / 0.4949 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.0001555/0.02025, allocations: 169.4 kB / 0.534 GB, free: 4.992 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.02037, allocations: 75.53 kB / 0.5341 GB, free: 4.918 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004037/0.02077, allocations: 202.4 kB / 0.5343 GB, free: 4.711 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.02078, allocations: 1.5 kB / 0.5343 GB, free: 4.711 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.02078, allocations: 0 / 0.5343 GB, free: 4.711 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.02079, allocations: 7.922 kB / 0.5343 GB, free: 4.703 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.02217, allocations: 1.03 MB / 0.5353 GB, free: 3.562 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.02218, allocations: 4 kB / 0.5353 GB, free: 3.559 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.02237, allocations: 47.91 kB / 0.5353 GB, free: 3.512 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-06/0.02238, allocations: 6.312 kB / 0.5353 GB, free: 3.508 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.0224, allocations: 12 kB / 0.5353 GB, free: 3.496 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/0.02241, allocations: 11.98 kB / 0.5354 GB, free: 3.484 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/0.02242, allocations: 11.94 kB / 0.5354 GB, free: 3.473 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004537/0.02287, allocations: 392.6 kB / 0.5357 GB, free: 2.992 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.02299, allocations: 75.48 kB / 0.5358 GB, free: 2.918 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.943e-05/0.02307, allocations: 8 kB / 0.5358 GB, free: 2.91 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.02331, allocations: 15.98 kB / 0.5358 GB, free: 2.895 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.02337, allocations: 29.33 kB / 0.5359 GB, free: 2.867 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.02339, allocations: 11.98 kB / 0.5359 GB, free: 2.855 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0006405/0.02403, allocations: 0.6355 MB / 0.5365 GB, free: 2.227 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02403, allocations: 0 / 0.5365 GB, free: 2.227 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0006411/0.02467, allocations: 169.8 kB / 0.5367 GB, free: 2.062 MB / 0.4949 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.0003337/0.025, allocations: 186.9 kB / 0.5368 GB, free: 1.871 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0003269/0.02533, allocations: 151.8 kB / 0.537 GB, free: 1.723 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.02533, allocations: 0.8125 kB / 0.537 GB, free: 1.723 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.02543, allocations: 66.36 kB / 0.537 GB, free: 1.656 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00075/0.02618, allocations: 180.5 kB / 0.5372 GB, free: 1.488 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.02877, allocations: 1.356 MB / 0.5385 GB, free: 32 kB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.029, allocations: 206.2 kB / 0.5387 GB, free: 15.81 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000256/0.02925, allocations: 69.64 kB / 0.5388 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004267/0.02968, allocations: 230.7 kB / 0.539 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of SimCode: time 1.011e-06/0.02968, allocations: 0 / 0.539 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of Templates: time 0.01545/0.04512, allocations: 11.81 MB / 0.5506 GB, free: 4.082 MB / 0.5105 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0707609760575]