Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.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.0008523/0.0008523, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.0008663/0.0008663, allocations: 169.2 kB / 23.19 MB, free: 1.367 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.8747/0.8747, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.7347/0.7347, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource") translateModel(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 73.61 kB / 0.6196 GB, free: 13.17 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.523/0.5242, allocations: 102 MB / 0.7191 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.202/0.7262, allocations: 199.6 MB / 0.914 GB, free: 9.965 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01514/0.7414, allocations: 11.86 MB / 0.9256 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003158/0.7445, allocations: 91.25 kB / 0.9257 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.003027/0.7476, allocations: 1.165 MB / 0.9268 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0084/0.756, allocations: 3.303 MB / 0.93 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.004388/0.7604, allocations: 1.952 MB / 0.9319 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.005839/0.7662, allocations: 4.169 MB / 0.936 GB, free: 3.379 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00173/0.7679, allocations: 1.113 MB / 0.9371 GB, free: 2.23 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00531/0.7732, allocations: 2.802 MB / 0.9398 GB, free: 15.42 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/0.7756, allocations: 1.387 MB / 0.9412 GB, free: 14.04 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003738/0.776, allocations: 180 kB / 0.9414 GB, free: 13.86 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004306/0.7803, allocations: 2.291 MB / 0.9436 GB, free: 11.56 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007507/0.781, allocations: 0.9774 MB / 0.9446 GB, free: 10.58 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.7822, allocations: 1.065 MB / 0.9456 GB, free: 9.512 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.006634/0.7889, allocations: 4.648 MB / 0.9501 GB, free: 4.848 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7889, allocations: 0 / 0.9501 GB, free: 4.848 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7889, allocations: 0 / 0.9501 GB, free: 4.848 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.836e-05/0.789, allocations: 0 / 0.9501 GB, free: 4.848 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004721/0.7937, allocations: 3.105 MB / 0.9532 GB, free: 1.68 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001867/0.7939, allocations: 12.03 kB / 0.9532 GB, free: 1.668 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002363/0.7962, allocations: 0.7983 MB / 0.954 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003159/0.7994, allocations: 2.463 MB / 0.9564 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.7995, allocations: 153.4 kB / 0.9565 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.7997, allocations: 112 kB / 0.9566 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/0.8024, allocations: 2.241 MB / 0.9588 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.8024, allocations: 3.938 kB / 0.9588 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.349e-05/0.8025, allocations: 48 kB / 0.9588 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-05/0.8025, allocations: 42.06 kB / 0.9589 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003038/0.8056, allocations: 2.616 MB / 0.9614 GB, free: 8.98 MB / 0.8386 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009022/0.8146, allocations: 6.613 MB / 0.9679 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/0.8169, allocations: 2.007 MB / 0.9699 GB, free: 240 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.8182, allocations: 0.9533 MB / 0.9708 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003997/0.8186, allocations: 164.5 kB / 0.971 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001204/0.8198, allocations: 1.183 MB / 0.9721 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=91): time 3.096e-06/0.8198, allocations: 0 / 0.9721 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of matching and sorting (n=91): time 0.01129/0.8311, allocations: 5.732 MB / 0.9777 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/0.8312, allocations: 149.2 kB / 0.9778 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004321/0.8355, allocations: 3.706 MB / 0.9815 GB, free: 4.172 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000237/0.8357, allocations: 45.7 kB / 0.9815 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007174/0.8364, allocations: 1.042 MB / 0.9825 GB, free: 3.07 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/0.8368, allocations: 305.4 kB / 0.9828 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002952/0.8371, allocations: 226.5 kB / 0.983 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.8372, allocations: 345.9 kB / 0.9834 GB, free: 2.195 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.8385, allocations: 1.157 MB / 0.9845 GB, free: 1.027 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/0.8403, allocations: 1.596 MB / 0.9861 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002257/0.8426, allocations: 2.182 MB / 0.9882 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.8426, allocations: 4.094 kB / 0.9882 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005298/0.8479, allocations: 3.723 MB / 0.9918 GB, free: 9.25 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.576e-05/0.8479, allocations: 75.38 kB / 0.9919 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.848, allocations: 4 kB / 0.9919 GB, free: 9.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002728/0.8507, allocations: 1.917 MB / 0.9938 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005245/0.8512, allocations: 183.7 kB / 0.9939 GB, free: 7.051 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005754/0.857, allocations: 6.361 MB / 1 GB, free: 444 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.8587, allocations: 195.2 kB / 1 GB, free: 248 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.8588, allocations: 51.97 kB / 1 GB, free: 196 kB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 17 (THotIn_set.nextEventScaled,THotIn_set.nextEvent,$PRE.THotIn_set.nextEvent,THotIn_set.last,THotIn_set.b,THotIn_set.a,mHot_flow_set.nextEventScaled,mHot_flow_set.nextEvent,$PRE.mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.b,mHot_flow_set.a,orc.cyc.hys.y,$PRE.orc.cyc.hys.y,orc.on_actual,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 79 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0009966/0.8598, allocations: 0.6576 MB / 1.001 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004063/0.8602, allocations: 234.5 kB / 1.001 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00427/0.8645, allocations: 3.227 MB / 1.004 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.8645, allocations: 7.984 kB / 1.004 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.8645, allocations: 0 / 1.004 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008166/0.8653, allocations: 422 kB / 1.005 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/0.8655, allocations: 20 kB / 1.005 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006798/0.8662, allocations: 111.9 kB / 1.005 GB, free: 11.45 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.8663, allocations: 60.88 kB / 1.005 GB, free: 11.39 MB / 0.8855 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004628/0.871, allocations: 3.225 MB / 1.008 GB, free: 8.125 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00361/0.8746, allocations: 3.62 MB / 1.012 GB, free: 4.453 MB / 0.8855 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009592/0.8755, allocations: 0.8974 MB / 1.013 GB, free: 3.543 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002799/0.8783, allocations: 2.713 MB / 1.015 GB, free: 0.8164 MB / 0.8855 GB Notification: Performance of Backend: time 9.02e-07/0.8783, allocations: 0 / 1.015 GB, free: 0.8164 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.3631/1.241, allocations: 2.49 MB / 1.018 GB, free: 267.6 MB / 0.8855 GB Notification: Performance of SimCode: time 0.007908/1.249, allocations: 5.335 MB / 1.023 GB, free: 265.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.06771/1.317, allocations: 50.64 MB / 1.072 GB, free: 247 MB / 0.8855 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & ./IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.7205835490021855] Failed to read output from testmodel.py, exit status != 0: 1.3246101608965546 1.335024068 0.544381001 Calling exit ...