Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.001289/0.001289, allocations: 82.48 kB / 19.18 MB, free: 2.363 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.001383/0.001383, allocations: 170.5 kB / 22.46 MB, free: 4.988 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.403/1.403, allocations: 177.2 MB / 202.8 MB, free: 9.176 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.164/1.164, allocations: 154.7 MB / 413.9 MB, free: 5.176 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.DryFluid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") translateModel(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.6187 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.699e-05, allocations: 2.281 kB / 0.6187 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003271/0.003298, allocations: 1.941 MB / 0.6206 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002365/0.005663, allocations: 1.316 MB / 0.6219 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.475e-05/0.005748, allocations: 0 / 0.6219 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006769/0.006425, allocations: 235 kB / 0.6222 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.007435, allocations: 454.3 kB / 0.6226 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.735e-06/0.007443, allocations: 0 / 0.6226 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000426/0.007869, allocations: 398.5 kB / 0.623 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.718e-05/0.007926, allocations: 12.59 kB / 0.623 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.008119, allocations: 179.5 kB / 0.6231 GB, free: 24 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.008364, allocations: 187.4 kB / 0.6233 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.008399, allocations: 20 kB / 0.6233 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004612/0.00886, allocations: 283.5 kB / 0.6236 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003095/0.00917, allocations: 367 kB / 0.624 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002104/0.00938, allocations: 203.3 kB / 0.6242 GB, free: 14.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008907/0.01027, allocations: 0.8488 MB / 0.625 GB, free: 14.13 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.01028, allocations: 7.984 kB / 0.625 GB, free: 14.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.01028, allocations: 0 / 0.625 GB, free: 14.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.01029, allocations: 0 / 0.625 GB, free: 14.12 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.001203/0.0115, allocations: 0.8918 MB / 0.6259 GB, free: 13.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.01154, allocations: 8.031 kB / 0.6259 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006027/0.01214, allocations: 132.4 kB / 0.626 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.01318, allocations: 0.8575 MB / 0.6268 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.0132, allocations: 12.38 kB / 0.6269 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.01324, allocations: 20.38 kB / 0.6269 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000801/0.01404, allocations: 0.6267 MB / 0.6275 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.01405, allocations: 4.172 kB / 0.6275 GB, free: 11.51 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.851e-05/0.01408, allocations: 8.375 kB / 0.6275 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.01409, allocations: 7.938 kB / 0.6275 GB, free: 11.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.0154, allocations: 1.101 MB / 0.6286 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002458/0.01786, allocations: 1.914 MB / 0.6304 GB, free: 8.449 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007419/0.0186, allocations: 334.7 kB / 0.6308 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/0.01897, allocations: 224.8 kB / 0.631 GB, free: 7.891 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.59e-05/0.01902, allocations: 19.98 kB / 0.631 GB, free: 7.871 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.01905, allocations: 34.56 kB / 0.631 GB, free: 7.828 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.222e-06/0.01905, allocations: 0 / 0.631 GB, free: 7.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001234/0.02029, allocations: 0.71 MB / 0.6317 GB, free: 7.113 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.02033, allocations: 55.34 kB / 0.6318 GB, free: 7.047 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002451/0.02278, allocations: 2.063 MB / 0.6338 GB, free: 4.977 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.02281, allocations: 29.7 kB / 0.6338 GB, free: 4.941 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002958/0.02311, allocations: 328.2 kB / 0.6341 GB, free: 4.617 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/0.02317, allocations: 67.42 kB / 0.6342 GB, free: 4.551 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.02328, allocations: 61.64 kB / 0.6343 GB, free: 4.484 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.02344, allocations: 314 kB / 0.6346 GB, free: 4.172 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006386/0.02408, allocations: 0.531 MB / 0.6351 GB, free: 3.641 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/0.02473, allocations: 0.5539 MB / 0.6356 GB, free: 3.082 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009832/0.02572, allocations: 0.776 MB / 0.6364 GB, free: 2.301 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.02572, allocations: 0 / 0.6364 GB, free: 2.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00148/0.0272, allocations: 1.2 MB / 0.6375 GB, free: 1.094 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.02723, allocations: 13.7 kB / 0.6376 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.02723, allocations: 0 / 0.6376 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.02725, allocations: 0 / 0.6376 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003332/0.02758, allocations: 75.77 kB / 0.6376 GB, free: 1.008 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.02759, allocations: 4 kB / 0.6376 GB, free: 1.004 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002991/0.02789, allocations: 31.81 kB / 0.6377 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.02792, allocations: 12.03 kB / 0.6377 GB, free: 0.9609 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.0002828/0.0282, allocations: 274.6 kB / 0.6379 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.0283, allocations: 67.53 kB / 0.638 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009104/0.02921, allocations: 0.5485 MB / 0.6385 GB, free: 64 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.02921, allocations: 4 kB / 0.6385 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.02922, allocations: 11.88 kB / 0.6386 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.02923, allocations: 0 / 0.6386 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/0.03223, allocations: 2.453 MB / 0.6409 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.03223, allocations: 4 kB / 0.641 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.03248, allocations: 47.91 kB / 0.641 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.03248, allocations: 4 kB / 0.641 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.03251, allocations: 16.42 kB / 0.641 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/0.03252, allocations: 11.88 kB / 0.641 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/0.03253, allocations: 12 kB / 0.641 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000967/0.03349, allocations: 0.6404 MB / 0.6417 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/0.03363, allocations: 83.5 kB / 0.6417 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.652e-05/0.0337, allocations: 7.984 kB / 0.6418 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.034, allocations: 27.92 kB / 0.6418 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.03406, allocations: 31.84 kB / 0.6418 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.03408, allocations: 12 kB / 0.6418 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001693/0.03577, allocations: 1.585 MB / 0.6434 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.03577, allocations: 0 / 0.6434 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005887/0.03636, allocations: 167.9 kB / 0.6435 GB, free: 10.78 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.0003555/0.03671, allocations: 179 kB / 0.6437 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.0378, allocations: 0.7729 MB / 0.6445 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.03781, allocations: 0 / 0.6445 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.03816, allocations: 224.6 kB / 0.6447 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007828/0.03895, allocations: 171.2 kB / 0.6448 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002505/0.04145, allocations: 1.606 MB / 0.6464 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.04191, allocations: 402.8 kB / 0.6468 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002389/0.04215, allocations: 88.39 kB / 0.6469 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.04227, allocations: 44.48 kB / 0.6469 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of SimCode: time 7.22e-07/0.04227, allocations: 3.938 kB / 0.6469 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of Templates: time 0.02167/0.06394, allocations: 10.63 MB / 0.6573 GB, free: 12.81 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.884045233950019] Failed to read output from testmodel.py, exit status != 0: 0.07477918453514576 0.087987803 0.07463493900000001 Calling exit ...