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.008992/0.008992, allocations: 1.791 MB / 21.89 MB, free: 2.641 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.0009675/0.0009675, allocations: 84.95 kB / 25.62 MB, free: 6.992 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.00113/0.00113, allocations: 166 kB / 29.46 MB, free: 3.191 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.9492/0.9492, allocations: 177.2 MB / 210.3 MB, free: 3.602 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.6318/0.6318, allocations: 102.5 MB / 369.8 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.433e-06/1.433e-06, allocations: 0 / 469.9 MB, free: 19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.544e-05, allocations: 3.578 kB / 469.9 MB, free: 19 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.1262/0.1263, allocations: 79.37 MB / 0.5364 GB, free: 8.855 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02739/0.1537, allocations: 21.58 MB / 0.5575 GB, free: 3.223 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005098/0.1588, allocations: 194.4 kB / 0.5576 GB, free: 3.031 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.006537/0.1653, allocations: 2.842 MB / 0.5604 GB, free: 176 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009919/0.1752, allocations: 4.741 MB / 0.565 GB, free: 11.4 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008297/0.1835, allocations: 4.951 MB / 0.5699 GB, free: 6.441 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01418/0.1977, allocations: 12.48 MB / 0.5821 GB, free: 9.914 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005589/0.2033, allocations: 4.019 MB / 0.586 GB, free: 5.828 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01115/0.2144, allocations: 6.734 MB / 0.5926 GB, free: 15.08 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005989/0.2204, allocations: 4.085 MB / 0.5966 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.00196/0.2224, allocations: 0.7656 MB / 0.5973 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004075/0.2265, allocations: 1.837 MB / 0.5991 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.002576/0.229, allocations: 2.362 MB / 0.6014 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.004155/0.2332, allocations: 2.641 MB / 0.604 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.2433, allocations: 7.292 MB / 0.6111 GB, free: 12.03 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.2433, allocations: 4 kB / 0.6111 GB, free: 12.03 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2433, allocations: 0 / 0.6111 GB, free: 12.03 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0002895/0.2436, allocations: 0 / 0.6111 GB, free: 12.03 MB / 0.5262 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.01006/0.2537, allocations: 8.746 MB / 0.6197 GB, free: 3.191 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2537, allocations: 12.03 kB / 0.6197 GB, free: 3.18 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002344/0.2561, allocations: 1.483 MB / 0.6211 GB, free: 1.691 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007719/0.2638, allocations: 5.751 MB / 0.6267 GB, free: 11.85 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002373/0.264, allocations: 357.7 kB / 0.6271 GB, free: 11.5 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005129/0.2645, allocations: 482.8 kB / 0.6275 GB, free: 11.03 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01503/0.2796, allocations: 11.8 MB / 0.6391 GB, free: 12.78 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001167/0.2797, allocations: 71.31 kB / 0.6391 GB, free: 12.71 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004483/0.2801, allocations: 240 kB / 0.6393 GB, free: 12.47 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.2802, allocations: 164 kB / 0.6395 GB, free: 12.31 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/0.2921, allocations: 5.724 MB / 0.6451 GB, free: 6.562 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2005/0.4926, allocations: 68.78 MB / 0.7123 GB, free: 83.81 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/0.5032, allocations: 4.95 MB / 0.7171 GB, free: 82.43 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/0.5054, allocations: 1.286 MB / 0.7184 GB, free: 81.97 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00069/0.5061, allocations: 330.4 kB / 0.7187 GB, free: 81.94 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.138e-05/0.5062, allocations: 114.6 kB / 0.7188 GB, free: 81.85 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=863): time 7.384e-06/0.5062, allocations: 3.828 kB / 0.7188 GB, free: 81.85 MB / 0.5574 GB Notification: Performance of matching and sorting (n=863): time 0.02098/0.5272, allocations: 9.911 MB / 0.7285 GB, free: 80.84 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001802/0.5274, allocations: 0.962 MB / 0.7294 GB, free: 79.71 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006737/0.5341, allocations: 5.541 MB / 0.7348 GB, free: 76.98 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.000859/0.535, allocations: 84.11 kB / 0.7349 GB, free: 76.9 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001738/0.5367, allocations: 3.434 MB / 0.7382 GB, free: 74.21 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.002369/0.5391, allocations: 2.951 MB / 0.7411 GB, free: 72.02 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002619/0.5417, allocations: 2.033 MB / 0.7431 GB, free: 70.85 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 3.632e-05/0.5417, allocations: 477.8 kB / 0.7436 GB, free: 70.38 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003102/0.5448, allocations: 1.612 MB / 0.7451 GB, free: 69.84 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004724/0.5495, allocations: 6.376 MB / 0.7514 GB, free: 63.01 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008579/0.5581, allocations: 8.337 MB / 0.7595 GB, free: 55.77 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.299e-05/0.5582, allocations: 27.19 kB / 0.7595 GB, free: 55.77 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.01307/0.5713, allocations: 7.896 MB / 0.7672 GB, free: 52.61 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.56e-05/0.5713, allocations: 47.94 kB / 0.7673 GB, free: 52.61 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006799/0.5781, allocations: 4.47 MB / 0.7717 GB, free: 49.87 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001364/0.5783, allocations: 158.7 kB / 0.7718 GB, free: 49.72 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004478/0.5828, allocations: 2.507 MB / 0.7743 GB, free: 47.21 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001586/0.5829, allocations: 215.2 kB / 0.7745 GB, free: 47 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004067/0.587, allocations: 1.035 MB / 0.7755 GB, free: 45.99 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008362/0.5878, allocations: 0.6363 MB / 0.7761 GB, free: 45.35 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004192/0.592, allocations: 1.77 MB / 0.7778 GB, free: 43.57 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003909/0.5959, allocations: 6.333 MB / 0.784 GB, free: 35.21 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007521/0.6034, allocations: 8.253 MB / 0.7921 GB, free: 25.16 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.165e-05/0.6035, allocations: 28 kB / 0.7921 GB, free: 25.13 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.0116/0.6151, allocations: 7.797 MB / 0.7997 GB, free: 17.35 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.6151, allocations: 48.88 kB / 0.7998 GB, free: 17.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006347/0.6215, allocations: 4.358 MB / 0.804 GB, free: 12.9 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001108/0.6216, allocations: 156 kB / 0.8042 GB, free: 12.75 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004303/0.6259, allocations: 2.494 MB / 0.8066 GB, free: 10.25 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001273/0.626, allocations: 219.2 kB / 0.8068 GB, free: 10.04 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003705/0.6297, allocations: 0.8435 MB / 0.8076 GB, free: 9.191 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007581/0.6305, allocations: 0.6323 MB / 0.8082 GB, free: 8.559 MB / 0.5574 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.001633/0.6321, allocations: 0.8436 MB / 0.8091 GB, free: 7.707 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002097/0.6342, allocations: 0.8929 MB / 0.8099 GB, free: 6.809 MB / 0.5574 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 1203 equation(s) and 1155 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) = ($cse486, $cse487, $cse488, $cse489, $cse490, $cse491, $cse492, $cse493, $cse494, $cse495) has size 9 but 5 variables ($cse261, valve6.pressureLoss.m_flow, valve6.pressureLoss.aperture_, valve6.pressureLoss.Delta_p, valve6.pressureLoss.Psi) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/0.6463, allocations: 11.16 MB / 0.8208 GB, free: 12 MB / 0.573 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.455348919844255]