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.001365/0.001365, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001577/0.001577, allocations: 170 kB / 22.46 MB, free: 5.359 MB / 14.72 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.471/1.471, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 1.228/1.228, allocations: 154.6 MB / 413.8 MB, free: 5.211 MB / 382.1 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 178] 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.362e-06/1.362e-06, allocations: 0 / 0.6186 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.902e-05/3.038e-05, allocations: 4.578 kB / 0.6186 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003336/0.003366, allocations: 2.068 MB / 0.6206 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002437/0.005803, allocations: 1.311 MB / 0.6219 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.005907, allocations: 0 / 0.6219 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007178/0.006625, allocations: 235 kB / 0.6221 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.007658, allocations: 458.2 kB / 0.6226 GB, free: 480 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 9.087e-06/0.007667, allocations: 0 / 0.6226 GB, free: 480 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004412/0.008108, allocations: 406.3 kB / 0.6229 GB, free: 72 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.875e-05/0.008167, allocations: 12.59 kB / 0.623 GB, free: 56 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002457/0.008413, allocations: 191.5 kB / 0.6231 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.008671, allocations: 183.4 kB / 0.6233 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.008715, allocations: 24 kB / 0.6233 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005515/0.009267, allocations: 283.5 kB / 0.6236 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003442/0.009611, allocations: 379.2 kB / 0.624 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002443/0.009855, allocations: 203.4 kB / 0.6242 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.01087, allocations: 0.8527 MB / 0.625 GB, free: 13.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01088, allocations: 0 / 0.625 GB, free: 13.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.022e-06/0.01088, allocations: 0 / 0.625 GB, free: 13.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.01089, allocations: 0 / 0.625 GB, free: 13.96 MB / 0.545 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.001236/0.01213, allocations: 0.8801 MB / 0.6259 GB, free: 13.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.01217, allocations: 12.03 kB / 0.6259 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006597/0.01283, allocations: 128.4 kB / 0.626 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.01398, allocations: 0.8652 MB / 0.6268 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.014, allocations: 12.38 kB / 0.6268 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.01404, allocations: 12.38 kB / 0.6269 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008872/0.01492, allocations: 0.6384 MB / 0.6275 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.01493, allocations: 192 / 0.6275 GB, free: 11.35 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.01496, allocations: 4.375 kB / 0.6275 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.01497, allocations: 7.938 kB / 0.6275 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.01639, allocations: 1.105 MB / 0.6286 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002629/0.01902, allocations: 1.918 MB / 0.6304 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008198/0.01984, allocations: 334.7 kB / 0.6308 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003812/0.02022, allocations: 218.6 kB / 0.631 GB, free: 7.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.038e-05/0.02027, allocations: 23.98 kB / 0.631 GB, free: 7.707 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.02031, allocations: 38.56 kB / 0.631 GB, free: 7.66 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.432e-06/0.02031, allocations: 0 / 0.631 GB, free: 7.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001288/0.02159, allocations: 0.7004 MB / 0.6317 GB, free: 6.953 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.02165, allocations: 59.33 kB / 0.6318 GB, free: 6.883 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002558/0.02421, allocations: 2.063 MB / 0.6338 GB, free: 4.812 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.02425, allocations: 29.7 kB / 0.6338 GB, free: 4.777 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.02455, allocations: 324.2 kB / 0.6341 GB, free: 4.457 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.447e-05/0.02462, allocations: 75.41 kB / 0.6342 GB, free: 4.383 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.02474, allocations: 53.66 kB / 0.6342 GB, free: 4.324 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.02489, allocations: 318 kB / 0.6345 GB, free: 4.008 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006976/0.02559, allocations: 0.531 MB / 0.6351 GB, free: 3.477 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007122/0.0263, allocations: 0.5539 MB / 0.6356 GB, free: 2.918 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.02737, allocations: 0.776 MB / 0.6364 GB, free: 2.137 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.02737, allocations: 3.938 kB / 0.6364 GB, free: 2.133 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001636/0.02901, allocations: 1.208 MB / 0.6375 GB, free: 0.918 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.02903, allocations: 4 kB / 0.6376 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.02903, allocations: 0 / 0.6376 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.02905, allocations: 4 kB / 0.6376 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.0294, allocations: 67.83 kB / 0.6376 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.02941, allocations: 0 / 0.6376 GB, free: 0.8438 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/0.02978, allocations: 35.84 kB / 0.6377 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.02982, allocations: 11.98 kB / 0.6377 GB, free: 0.7969 MB / 0.545 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.0003933/0.03021, allocations: 278.7 kB / 0.6379 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.03032, allocations: 67.53 kB / 0.638 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.03137, allocations: 0.5408 MB / 0.6385 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.03138, allocations: 3.984 kB / 0.6385 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.03139, allocations: 11.86 kB / 0.6385 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.03139, allocations: 0 / 0.6385 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/0.03475, allocations: 2.449 MB / 0.6409 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.03476, allocations: 12 kB / 0.6409 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.03503, allocations: 48.55 kB / 0.641 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.03504, allocations: 11.94 kB / 0.641 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.03507, allocations: 12 kB / 0.641 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.03508, allocations: 7.938 kB / 0.641 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.03508, allocations: 4 kB / 0.641 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.03622, allocations: 0.6443 MB / 0.6417 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.0364, allocations: 91.48 kB / 0.6417 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.454e-05/0.0365, allocations: 8 kB / 0.6417 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/0.03681, allocations: 19.92 kB / 0.6418 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.03688, allocations: 31.84 kB / 0.6418 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.03691, allocations: 8 kB / 0.6418 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001977/0.03888, allocations: 1.588 MB / 0.6434 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.03888, allocations: 0 / 0.6434 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006126/0.0395, allocations: 171.9 kB / 0.6435 GB, free: 10.62 MB / 0.5606 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.000414/0.03991, allocations: 189.4 kB / 0.6437 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001295/0.0412, allocations: 0.7678 MB / 0.6444 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.04121, allocations: 4 kB / 0.6445 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004823/0.04169, allocations: 224.1 kB / 0.6447 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008896/0.04258, allocations: 167.6 kB / 0.6448 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.04534, allocations: 1.603 MB / 0.6464 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006028/0.04594, allocations: 406.8 kB / 0.6468 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002644/0.0462, allocations: 88.38 kB / 0.6469 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.04634, allocations: 40.5 kB / 0.6469 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.04634, allocations: 0 / 0.6469 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of Templates: time 0.02059/0.06692, allocations: 10.53 MB / 0.6572 GB, free: 12.75 MB / 0.5762 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.018669653683901] Failed to read output from testmodel.py, exit status != 0: 0.07612903788685799 0.091665151 0.077526131 Calling exit ...