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.0009617/0.0009617, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009426/0.0009426, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.037/1.037, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.8324/0.8324, allocations: 154.6 MB / 414.5 MB, free: 0.6992 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.813e-06/1.813e-06, allocations: 0 / 0.5203 GB, free: 2.223 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.831e-05, allocations: 7.656 kB / 0.5203 GB, free: 2.219 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002253/0.002272, allocations: 2.22 MB / 0.5225 GB, free: 4 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.003903, allocations: 1.368 MB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.505e-05/0.003988, allocations: 1.156 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004685/0.004457, allocations: 235 kB / 0.5241 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007166/0.005174, allocations: 452.3 kB / 0.5245 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 5.941e-06/0.00518, allocations: 1.062 kB / 0.5245 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.005486, allocations: 414.2 kB / 0.5249 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.005528, allocations: 15.83 kB / 0.5249 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.005666, allocations: 187.4 kB / 0.5251 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.005851, allocations: 187.4 kB / 0.5253 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.005881, allocations: 24 kB / 0.5253 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004595/0.00634, allocations: 287.5 kB / 0.5256 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002781/0.006618, allocations: 379.2 kB / 0.5259 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.006787, allocations: 199.4 kB / 0.5261 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006149/0.007401, allocations: 0.6383 MB / 0.5267 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.225e-06/0.007404, allocations: 0 / 0.5267 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.22e-07/0.007405, allocations: 2.875 kB / 0.5267 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.007411, allocations: 0 / 0.5267 GB, free: 11.67 MB / 0.4948 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.0008448/0.008256, allocations: 1.007 MB / 0.5277 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.008289, allocations: 8.031 kB / 0.5277 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003387/0.008627, allocations: 133.8 kB / 0.5279 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.009075, allocations: 0.5049 MB / 0.5283 GB, free: 9.957 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.009093, allocations: 12.38 kB / 0.5284 GB, free: 9.945 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.009117, allocations: 12.38 kB / 0.5284 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.009375, allocations: 179.8 kB / 0.5285 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.009388, allocations: 2.406 kB / 0.5285 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.009405, allocations: 4.375 kB / 0.5286 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.009416, allocations: 7.938 kB / 0.5286 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.009649, allocations: 164.4 kB / 0.5287 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001183/0.01083, allocations: 1.06 MB / 0.5298 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.01114, allocations: 145.3 kB / 0.5299 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.027e-05/0.01123, allocations: 55.66 kB / 0.5299 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.01127, allocations: 27.98 kB / 0.53 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.01129, allocations: 43.42 kB / 0.53 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=19): time 1.392e-06/0.01129, allocations: 0 / 0.53 GB, free: 8.199 MB / 0.4948 GB Notification: Performance of matching and sorting (n=19): time 0.0003868/0.01168, allocations: 222.6 kB / 0.5302 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.01171, allocations: 63.34 kB / 0.5303 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000776/0.01249, allocations: 1.039 MB / 0.5313 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.01251, allocations: 30.73 kB / 0.5313 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.01274, allocations: 418.9 kB / 0.5317 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.01278, allocations: 67.42 kB / 0.5318 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-05/0.01286, allocations: 68.28 kB / 0.5319 GB, free: 6.258 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.01298, allocations: 492.4 kB / 0.5323 GB, free: 5.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.01309, allocations: 61.53 kB / 0.5324 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.0132, allocations: 91.33 kB / 0.5325 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.0134, allocations: 153.5 kB / 0.5326 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01341, allocations: 1.281 kB / 0.5326 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003515/0.01376, allocations: 290.4 kB / 0.5329 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.01377, allocations: 4.562 kB / 0.5329 GB, free: 5.164 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.01378, allocations: 11.98 kB / 0.5329 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.0138, allocations: 0.8438 kB / 0.5329 GB, free: 5.152 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.01397, allocations: 69.27 kB / 0.533 GB, free: 5.086 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.01398, allocations: 3.938 kB / 0.533 GB, free: 5.082 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.01411, allocations: 31.77 kB / 0.533 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.01413, allocations: 11.98 kB / 0.533 GB, free: 5.039 MB / 0.4948 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.0001045/0.01424, allocations: 169.7 kB / 0.5332 GB, free: 4.863 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.0143, allocations: 75.53 kB / 0.5333 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.01461, allocations: 212 kB / 0.5335 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.01462, allocations: 4 kB / 0.5335 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.01462, allocations: 3.938 kB / 0.5335 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.01463, allocations: 4.922 kB / 0.5335 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.01568, allocations: 1.158 MB / 0.5346 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.01569, allocations: 4 kB / 0.5346 GB, free: 3.281 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.0158, allocations: 46.66 kB / 0.5347 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.0158, allocations: 8 kB / 0.5347 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.01582, allocations: 11.98 kB / 0.5347 GB, free: 3.219 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.01582, allocations: 11.94 kB / 0.5347 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.01583, allocations: 7.938 kB / 0.5347 GB, free: 3.199 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003486/0.01618, allocations: 403.4 kB / 0.5351 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.0163, allocations: 84.98 kB / 0.5352 GB, free: 2.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/0.01637, allocations: 4 kB / 0.5352 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.01656, allocations: 23.92 kB / 0.5352 GB, free: 2.598 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.0166, allocations: 31.84 kB / 0.5352 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.01661, allocations: 13.75 kB / 0.5352 GB, free: 2.555 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005236/0.01713, allocations: 0.7138 MB / 0.5359 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01713, allocations: 0 / 0.5359 GB, free: 1.848 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003558/0.01749, allocations: 171.9 kB / 0.5361 GB, free: 1.68 MB / 0.4948 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.0002249/0.01771, allocations: 176.3 kB / 0.5363 GB, free: 1.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000269/0.01798, allocations: 154.7 kB / 0.5364 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01798, allocations: 0 / 0.5364 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.121e-05/0.01808, allocations: 75.88 kB / 0.5365 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004747/0.01855, allocations: 179.4 kB / 0.5366 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.02036, allocations: 1.357 MB / 0.538 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00014/0.0205, allocations: 209.4 kB / 0.5382 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001448/0.02065, allocations: 74.27 kB / 0.5382 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.863e-05/0.02074, allocations: 40.48 kB / 0.5383 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of SimCode: time 8.11e-07/0.02074, allocations: 0 / 0.5383 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of Templates: time 0.0129/0.03364, allocations: 10.8 MB / 0.5488 GB, free: 4.863 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.13217737711966]