Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01743/0.01743, allocations: 1.8 MB / 21.15 MB, free: 3.246 MB / 18.57 MB " [Timeout remaining time 180] 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.001893/0.001893, allocations: 83.48 kB / 24.89 MB, free: 6.82 MB / 18.57 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.002065/0.002065, allocations: 166.7 kB / 28.74 MB, free: 3.648 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.573/1.573, allocations: 177.1 MB / 209.6 MB, free: 2.398 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 1.136/1.136, allocations: 102.5 MB / 369.1 MB, free: 0.9062 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.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) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|threeWayValveVLE_L2_1.h|threeWayValveVLE_L2_1.p",fileNamePrefix="ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves") translateModel(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|threeWayValveVLE_L2_1.h|threeWayValveVLE_L2_1.p",fileNamePrefix="ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 469.1 MB, free: 13.04 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.436e-05/3.607e-05, allocations: 2.312 kB / 469.1 MB, free: 13.03 MB / 442.8 MB Notification: TILMedia 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValves): time 0.4622/0.4622, allocations: 64.32 MB / 0.521 GB, free: 71.94 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02297/0.4852, allocations: 18.13 MB / 0.5387 GB, free: 63.29 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004154/0.4893, allocations: 99.28 kB / 0.5388 GB, free: 63.25 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005157/0.4945, allocations: 1.681 MB / 0.5404 GB, free: 62.43 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.008964/0.5035, allocations: 2.177 MB / 0.5425 GB, free: 61.04 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006389/0.5098, allocations: 2.713 MB / 0.5452 GB, free: 59.64 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.009618/0.5195, allocations: 5.815 MB / 0.5509 GB, free: 56.73 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003116/0.5226, allocations: 1.727 MB / 0.5525 GB, free: 55.62 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00712/0.5297, allocations: 3.177 MB / 0.5556 GB, free: 54.25 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005164/0.5349, allocations: 1.972 MB / 0.5576 GB, free: 53.59 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001622/0.5365, allocations: 361.3 kB / 0.5579 GB, free: 53.59 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0051/0.5416, allocations: 1.334 MB / 0.5592 GB, free: 53.26 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001865/0.5434, allocations: 1.19 MB / 0.5604 GB, free: 52.56 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003892/0.5473, allocations: 1.294 MB / 0.5616 GB, free: 51.95 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.558, allocations: 6.208 MB / 0.5677 GB, free: 48.98 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.558, allocations: 0 / 0.5677 GB, free: 48.98 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.823e-06/0.558, allocations: 2.094 kB / 0.5677 GB, free: 48.98 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0002056/0.5582, allocations: 0 / 0.5677 GB, free: 48.98 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 845 * Number of variables: 845 Notification: Performance of Generate backend data structure: time 0.01033/0.5685, allocations: 5.192 MB / 0.5728 GB, free: 45.28 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.5686, allocations: 10.78 kB / 0.5728 GB, free: 45.28 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/0.5706, allocations: 0.7631 MB / 0.5735 GB, free: 44.88 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006912/0.5775, allocations: 3.395 MB / 0.5768 GB, free: 42.63 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.5776, allocations: 167.5 kB / 0.577 GB, free: 42.55 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002866/0.5779, allocations: 232.2 kB / 0.5772 GB, free: 42.48 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009848/0.5878, allocations: 6.821 MB / 0.5839 GB, free: 35.08 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.091e-05/0.5878, allocations: 39.81 kB / 0.5839 GB, free: 35.04 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002284/0.5881, allocations: 125.7 kB / 0.584 GB, free: 34.92 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-05/0.5881, allocations: 83.94 kB / 0.5841 GB, free: 34.84 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007602/0.5957, allocations: 3.415 MB / 0.5875 GB, free: 31.42 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02431/0.62, allocations: 37.57 MB / 0.6242 GB, free: 8.582 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008535/0.6286, allocations: 2.924 MB / 0.627 GB, free: 5.477 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00186/0.6304, allocations: 0.8336 MB / 0.6278 GB, free: 4.578 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003295/0.6308, allocations: 121.1 kB / 0.6279 GB, free: 4.461 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/0.6309, allocations: 66.64 kB / 0.628 GB, free: 4.387 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=427): time 6.993e-06/0.6309, allocations: 0 / 0.628 GB, free: 4.387 MB / 0.4949 GB Notification: Performance of matching and sorting (n=427): time 0.01798/0.6489, allocations: 5.831 MB / 0.6337 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004035/0.6493, allocations: 0.6097 MB / 0.6343 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006727/0.656, allocations: 3.992 MB / 0.6382 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005303/0.6565, allocations: 56.36 kB / 0.6382 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002025/0.6585, allocations: 1.971 MB / 0.6402 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002252/0.6608, allocations: 1.569 MB / 0.6417 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002099/0.6629, allocations: 1.184 MB / 0.6429 GB, free: 4.969 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000234/0.6631, allocations: 480.7 kB / 0.6433 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00257/0.6657, allocations: 1.263 MB / 0.6445 GB, free: 3.223 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005397/0.6711, allocations: 4.092 MB / 0.6485 GB, free: 13.98 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01022/0.6813, allocations: 6.365 MB / 0.6548 GB, free: 6.59 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-05/0.6814, allocations: 19.98 kB / 0.6548 GB, free: 6.57 MB / 0.5262 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01118/0.6925, allocations: 4.975 MB / 0.6596 GB, free: 1.59 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 6.298e-05/0.6926, allocations: 35.94 kB / 0.6597 GB, free: 1.555 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006466/0.6991, allocations: 2.901 MB / 0.6625 GB, free: 14.61 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004466/0.6995, allocations: 119.6 kB / 0.6626 GB, free: 14.49 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004059/0.7036, allocations: 1.248 MB / 0.6638 GB, free: 13.24 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/0.7056, allocations: 1.925 MB / 0.6657 GB, free: 11.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004077/0.7097, allocations: 0.4988 MB / 0.6662 GB, free: 10.7 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000629/0.7103, allocations: 332.5 kB / 0.6665 GB, free: 10.37 MB / 0.5418 GB Warning: Assuming fixed start value for the following 2 variables: threeWayValveVLE_L2_1.h:VARIABLE(start = threeWayValveVLE_L2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) type: Real threeWayValveVLE_L2_1.p:VARIABLE(min = 0.0 start = threeWayValveVLE_L2_1.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004835/0.7151, allocations: 1.781 MB / 0.6683 GB, free: 8.586 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005804/0.7209, allocations: 4.084 MB / 0.6723 GB, free: 3.348 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01022/0.7311, allocations: 6.337 MB / 0.6784 GB, free: 11.98 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.899e-05/0.7312, allocations: 16.62 kB / 0.6785 GB, free: 11.97 MB / 0.5574 GB Notification: Performance of matching and sorting (n=661) (initialization_lambda0): time 0.01113/0.7423, allocations: 4.955 MB / 0.6833 GB, free: 7.012 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.7424, allocations: 30.69 kB / 0.6833 GB, free: 6.984 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00605/0.7484, allocations: 2.885 MB / 0.6861 GB, free: 4.059 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002933/0.7487, allocations: 119.7 kB / 0.6863 GB, free: 3.938 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/0.7525, allocations: 1.25 MB / 0.6875 GB, free: 2.688 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/0.7542, allocations: 1.926 MB / 0.6894 GB, free: 0.6484 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003217/0.7575, allocations: 409.1 kB / 0.6897 GB, free: 252 kB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006018/0.7581, allocations: 331.8 kB / 0.6901 GB, free: 15.92 MB / 0.573 GB Warning: Assuming fixed start value for the following 2 variables: threeWayValveVLE_L2_1.h:VARIABLE(start = threeWayValveVLE_L2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) type: Real threeWayValveVLE_L2_1.p:VARIABLE(min = 0.0 start = threeWayValveVLE_L2_1.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * 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 (660): * Single equations (assignments): 659 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001341/0.7594, allocations: 0.5692 MB / 0.6906 GB, free: 15.35 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001666/0.7611, allocations: 469.1 kB / 0.6911 GB, free: 14.89 MB / 0.573 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 525 equation(s) and 506 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:65:5-70:23:writable] Error: (pressureSink_ph1.fluidOut.VLE.d_l, pressureSink_ph1.fluidOut.VLE.h_l, pressureSink_ph1.fluidOut.VLE.p_l, pressureSink_ph1.fluidOut.VLE.s_l, pressureSink_ph1.fluidOut.VLE.T_l, _, pressureSink_ph1.fluidOut.VLE.d_v, pressureSink_ph1.fluidOut.VLE.h_v, pressureSink_ph1.fluidOut.VLE.p_v, pressureSink_ph1.fluidOut.VLE.s_v, pressureSink_ph1.fluidOut.VLE.T_v, _) = ($cse154, $cse155, $cse156, $cse157, $cse158, $cse159, $cse160, $cse161, $cse162, $cse163, $cse164, $cse165) has size 10 but 2 variables (massFlowSource_h.fluidOut.s, massFlowSource_h.eye_int[1].s) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00958/0.7706, allocations: 4.783 MB / 0.6957 GB, free: 10.37 MB / 0.573 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.783684929017909]