Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007474/0.0007474, allocations: 80.44 kB / 19.91 MB, free: 4 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.0007892/0.0007892, allocations: 169.6 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.8932/0.8932, allocations: 177.2 MB / 203.6 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7119/0.7119, allocations: 154.9 MB / 414.9 MB, free: 0.5195 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource") translateModel(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009139/0.0009139, allocations: 67.89 kB / 0.6199 GB, free: 12.82 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.4708/0.4717, allocations: 102 MB / 0.7194 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.1861/0.6578, allocations: 199.5 MB / 0.9143 GB, free: 9.602 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01469/0.6725, allocations: 11.86 MB / 0.9259 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.6745, allocations: 95.19 kB / 0.926 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002161/0.6767, allocations: 1.153 MB / 0.9271 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.005788/0.6825, allocations: 3.316 MB / 0.9303 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003376/0.6859, allocations: 1.939 MB / 0.9322 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.004153/0.69, allocations: 4.177 MB / 0.9363 GB, free: 3.012 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.6914, allocations: 1.117 MB / 0.9374 GB, free: 1.859 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003716/0.6952, allocations: 2.809 MB / 0.9402 GB, free: 15.05 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.6966, allocations: 1.379 MB / 0.9415 GB, free: 13.66 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002169/0.6968, allocations: 184 kB / 0.9417 GB, free: 13.48 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003562/0.7003, allocations: 2.295 MB / 0.9439 GB, free: 11.18 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005394/0.7009, allocations: 0.9736 MB / 0.9449 GB, free: 10.21 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007583/0.7016, allocations: 1.069 MB / 0.9459 GB, free: 9.133 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.004242/0.7059, allocations: 4.644 MB / 0.9504 GB, free: 4.473 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.7059, allocations: 0 / 0.9504 GB, free: 4.473 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.515e-06/0.7059, allocations: 0 / 0.9504 GB, free: 4.473 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.068e-05/0.7059, allocations: 0 / 0.9504 GB, free: 4.473 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.003834/0.7098, allocations: 3.101 MB / 0.9535 GB, free: 1.309 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.7098, allocations: 9.469 kB / 0.9535 GB, free: 1.301 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00245/0.7123, allocations: 0.8022 MB / 0.9543 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002539/0.7148, allocations: 2.471 MB / 0.9567 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.7149, allocations: 149.4 kB / 0.9568 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.715, allocations: 108 kB / 0.9569 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/0.7176, allocations: 2.245 MB / 0.9591 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.7176, allocations: 0 / 0.9591 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.065e-05/0.7177, allocations: 44 kB / 0.9592 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-05/0.7177, allocations: 46.06 kB / 0.9592 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/0.7204, allocations: 2.616 MB / 0.9618 GB, free: 8.609 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.006662/0.7271, allocations: 6.621 MB / 0.9682 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00235/0.7294, allocations: 2 MB / 0.9702 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001019/0.7305, allocations: 0.9567 MB / 0.9711 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003715/0.7308, allocations: 160.5 kB / 0.9713 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001366/0.7322, allocations: 1.183 MB / 0.9724 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=91): time 3.487e-06/0.7322, allocations: 0 / 0.9724 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of matching and sorting (n=91): time 0.01063/0.7428, allocations: 5.732 MB / 0.978 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.7429, allocations: 149.2 kB / 0.9782 GB, free: 7.531 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004642/0.7475, allocations: 3.706 MB / 0.9818 GB, free: 3.801 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.7477, allocations: 45.7 kB / 0.9818 GB, free: 3.75 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008658/0.7485, allocations: 1.034 MB / 0.9828 GB, free: 2.707 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003003/0.7488, allocations: 309.4 kB / 0.9831 GB, free: 2.402 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003585/0.7492, allocations: 218.5 kB / 0.9833 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.7493, allocations: 353.9 kB / 0.9837 GB, free: 1.828 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.7508, allocations: 1.15 MB / 0.9848 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/0.7528, allocations: 1.6 MB / 0.9864 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002887/0.7557, allocations: 2.186 MB / 0.9885 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.7557, allocations: 0 / 0.9885 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00621/0.7619, allocations: 3.719 MB / 0.9921 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.197e-05/0.762, allocations: 79.44 kB / 0.9922 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.762, allocations: 7.984 kB / 0.9922 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003295/0.7653, allocations: 1.917 MB / 0.9941 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.7658, allocations: 183.8 kB / 0.9943 GB, free: 6.684 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00622/0.772, allocations: 6.375 MB / 1 GB, free: 60 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.7733, allocations: 195.2 kB / 1.001 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-05/0.7734, allocations: 55.98 kB / 1.001 GB, free: 15.81 MB / 0.8855 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.001115/0.7746, allocations: 0.653 MB / 1.001 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000254/0.7748, allocations: 234.5 kB / 1.002 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/0.779, allocations: 3.237 MB / 1.005 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.779, allocations: 3.984 kB / 1.005 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.779, allocations: 4 kB / 1.005 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000625/0.7796, allocations: 414.1 kB / 1.005 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.7798, allocations: 24 kB / 1.005 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006072/0.7804, allocations: 111.9 kB / 1.005 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.7805, allocations: 60.88 kB / 1.005 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004604/0.7851, allocations: 3.233 MB / 1.008 GB, free: 7.738 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003425/0.7885, allocations: 3.616 MB / 1.012 GB, free: 4.07 MB / 0.8855 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009264/0.7895, allocations: 0.8935 MB / 1.013 GB, free: 3.164 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002459/0.7919, allocations: 2.721 MB / 1.016 GB, free: 440 kB / 0.8855 GB Notification: Performance of Backend: time 4.91e-07/0.7919, allocations: 0 / 1.016 GB, free: 440 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.3356/1.128, allocations: 2.474 MB / 1.018 GB, free: 267.2 MB / 0.8855 GB Notification: Performance of SimCode: time 0.005858/1.133, allocations: 5.347 MB / 1.023 GB, free: 264.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.06479/1.198, allocations: 50.64 MB / 1.073 GB, free: 246.3 MB / 0.8855 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & ./IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.662949871039018] Failed to read output from testmodel.py, exit status != 0: 1.2038443351630121 1.2099592989999999 0.502536004 Calling exit ...