Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves.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.01068/0.01068, allocations: 1.795 MB / 21.35 MB, free: 3.191 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.0008932/0.0008932, allocations: 90.5 kB / 25.16 MB, free: 7.422 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.0009659/0.0009659, allocations: 166.5 kB / 29.06 MB, free: 3.637 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.9636/0.9636, allocations: 177.1 MB / 210 MB, free: 3.586 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6102/0.6102, allocations: 102.5 MB / 369.5 MB, free: 400 kB / 330.7 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.TestValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter=".*",fileNamePrefix="ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves") translateModel(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter=".*",fileNamePrefix="ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 470 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.756e-05, allocations: 3.438 kB / 470 MB, free: 18.95 MB / 410.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.TestValves): time 0.1172/0.1172, allocations: 79.53 MB / 0.5366 GB, free: 8.352 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02691/0.1441, allocations: 21.61 MB / 0.5577 GB, free: 2.684 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004265/0.1484, allocations: 194.4 kB / 0.5579 GB, free: 2.492 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004444/0.1529, allocations: 2.845 MB / 0.5607 GB, free: 15.63 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007506/0.1604, allocations: 4.76 MB / 0.5653 GB, free: 10.84 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0074/0.1678, allocations: 4.955 MB / 0.5702 GB, free: 5.875 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01416/0.1819, allocations: 12.48 MB / 0.5824 GB, free: 9.359 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005784/0.1877, allocations: 4.015 MB / 0.5863 GB, free: 5.277 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1192/0.3069, allocations: 52.1 MB / 0.6372 GB, free: 2.324 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2284/0.5353, allocations: 3.994 MB / 0.6411 GB, free: 76 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002439/0.5377, allocations: 0.7116 MB / 0.6418 GB, free: 76 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004446/0.5422, allocations: 1.67 MB / 0.6434 GB, free: 76 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001326/0.5435, allocations: 2.21 MB / 0.6455 GB, free: 76 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.002995/0.5465, allocations: 2.558 MB / 0.648 GB, free: 76 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.007449/0.554, allocations: 7.107 MB / 0.655 GB, free: 75.32 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.554, allocations: 0 / 0.655 GB, free: 75.32 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.353e-06/0.554, allocations: 2.734 kB / 0.655 GB, free: 75.32 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001462/0.5541, allocations: 0 / 0.655 GB, free: 75.32 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.007544/0.5617, allocations: 8.478 MB / 0.6633 GB, free: 71.53 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.5617, allocations: 9.469 kB / 0.6633 GB, free: 71.53 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.5633, allocations: 1.374 MB / 0.6646 GB, free: 71 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004501/0.5678, allocations: 4.737 MB / 0.6692 GB, free: 69.8 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.5679, allocations: 357.9 kB / 0.6696 GB, free: 69.79 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004163/0.5684, allocations: 471.8 kB / 0.67 GB, free: 69.79 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01267/0.581, allocations: 11.88 MB / 0.6816 GB, free: 62.16 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/0.5811, allocations: 70.25 kB / 0.6817 GB, free: 62.16 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003817/0.5815, allocations: 240.6 kB / 0.6819 GB, free: 62.16 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/0.5817, allocations: 165.2 kB / 0.6821 GB, free: 62.16 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01171/0.5934, allocations: 5.813 MB / 0.6878 GB, free: 62.02 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0238/0.6172, allocations: 68.98 MB / 0.7551 GB, free: 12.67 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009214/0.6264, allocations: 4.982 MB / 0.76 GB, free: 10.33 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.628, allocations: 1.329 MB / 0.7613 GB, free: 9.711 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000591/0.6286, allocations: 338.6 kB / 0.7616 GB, free: 9.602 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.636e-05/0.6287, allocations: 104.6 kB / 0.7617 GB, free: 9.523 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=863): time 7.394e-06/0.6287, allocations: 0 / 0.7617 GB, free: 9.523 MB / 0.5574 GB Notification: Performance of matching and sorting (n=863): time 0.01824/0.6469, allocations: 10.04 MB / 0.7715 GB, free: 5.922 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00036/0.6473, allocations: 1.272 MB / 0.7728 GB, free: 4.406 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004878/0.6522, allocations: 5.489 MB / 0.7781 GB, free: 1.363 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0003073/0.6525, allocations: 88.11 kB / 0.7782 GB, free: 1.285 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001876/0.6544, allocations: 3.441 MB / 0.7816 GB, free: 14.31 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001771/0.6561, allocations: 2.956 MB / 0.7845 GB, free: 11.74 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001868/0.658, allocations: 2.047 MB / 0.7864 GB, free: 10.56 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.208e-05/0.6581, allocations: 480.5 kB / 0.7869 GB, free: 10.09 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002463/0.6606, allocations: 1.658 MB / 0.7885 GB, free: 9.492 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004938/0.6655, allocations: 6.831 MB / 0.7952 GB, free: 0.5625 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00817/0.6737, allocations: 8.414 MB / 0.8034 GB, free: 6.758 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.42e-05/0.6737, allocations: 28 kB / 0.8034 GB, free: 6.73 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.01097/0.6847, allocations: 7.996 MB / 0.8112 GB, free: 15.39 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 4.863e-05/0.6847, allocations: 50.69 kB / 0.8113 GB, free: 15.34 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006538/0.6913, allocations: 4.569 MB / 0.8158 GB, free: 10.78 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001214/0.6914, allocations: 156 kB / 0.8159 GB, free: 10.63 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004672/0.6961, allocations: 2.518 MB / 0.8184 GB, free: 8.27 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001738/0.6962, allocations: 213.1 kB / 0.8186 GB, free: 8.102 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004371/0.7006, allocations: 1.037 MB / 0.8196 GB, free: 7.059 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000774/0.7014, allocations: 0.6441 MB / 0.8202 GB, free: 6.414 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004276/0.7056, allocations: 1.81 MB / 0.822 GB, free: 4.598 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004733/0.7104, allocations: 6.784 MB / 0.8286 GB, free: 11.71 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007999/0.7184, allocations: 8.329 MB / 0.8367 GB, free: 1.98 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.354e-05/0.7184, allocations: 28 kB / 0.8368 GB, free: 1.953 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.01115/0.7296, allocations: 7.895 MB / 0.8445 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/0.7296, allocations: 46.66 kB / 0.8445 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006338/0.7359, allocations: 4.454 MB / 0.8489 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.736, allocations: 154.7 kB / 0.849 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004516/0.7406, allocations: 2.504 MB / 0.8515 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001543/0.7407, allocations: 215.2 kB / 0.8517 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003843/0.7446, allocations: 0.8556 MB / 0.8525 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006358/0.7452, allocations: 0.6402 MB / 0.8531 GB, free: 1.52 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 4 (valve5.pressureLoss.normIsValid,valve4.pressureLoss.normIsValid,valve2.pressureLoss.normIsValid,valve1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1296): * Single equations (assignments): 1296 * 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.001707/0.7469, allocations: 0.8595 MB / 0.854 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00162/0.7485, allocations: 0.893 MB / 0.8548 GB, free: 15.75 MB / 0.6512 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 1195 equation(s) and 1147 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pressureSink_XRG4.fluidOut.q, pressureSink_XRG4.fluidOut.cp, pressureSink_XRG4.fluidOut.cv, pressureSink_XRG4.fluidOut.beta, pressureSink_XRG4.fluidOut.kappa, pressureSink_XRG4.fluidOut.drhodp_hxi, pressureSink_XRG4.fluidOut.drhodh_pxi, _, pressureSink_XRG4.fluidOut.w, pressureSink_XRG4.fluidOut.gamma) = ($cse482, $cse483, $cse484, $cse485, $cse486, $cse487, $cse488, $cse489, $cse490, $cse491) has size 9 but 6 variables (valve6.pressureLoss.m_flow, valve6.pressureLoss.aperture_, valve6.pressureLoss.Delta_p, valve6.pressureLoss.Psi, valve6.pressureLoss.p_in, valve6.iCom.rho_in) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/0.7602, allocations: 11.17 MB / 0.8657 GB, free: 4.926 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.711044481024146]