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.008299/0.008299, allocations: 1.777 MB / 22.36 MB, free: 2.117 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.000809/0.000809, allocations: 79.77 kB / 26.19 MB, free: 5.695 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.0008723/0.0008723, allocations: 169.9 kB / 30.12 MB, free: 2.031 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.9181/0.9181, allocations: 177.2 MB / 211.1 MB, free: 3.43 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.6073/0.6073, allocations: 102.5 MB / 370.7 MB, free: 228 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.593e-06/1.593e-06, allocations: 0 / 471.2 MB, free: 18.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.744e-05, allocations: 4.969 kB / 471.2 MB, free: 18.82 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.1323/0.1323, allocations: 78.56 MB / 0.5369 GB, free: 8.98 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02673/0.159, allocations: 21.51 MB / 0.5579 GB, free: 3.41 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005112/0.1641, allocations: 198.4 kB / 0.5581 GB, free: 3.215 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004982/0.1691, allocations: 2.845 MB / 0.5609 GB, free: 360 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.008601/0.1777, allocations: 4.764 MB / 0.5656 GB, free: 11.55 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007921/0.1856, allocations: 4.951 MB / 0.5704 GB, free: 6.594 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01381/0.1994, allocations: 12.48 MB / 0.5826 GB, free: 10.08 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005853/0.2053, allocations: 4.011 MB / 0.5865 GB, free: 6 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1191/0.3244, allocations: 52.1 MB / 0.6374 GB, free: 3.086 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2079/0.5323, allocations: 4.002 MB / 0.6413 GB, free: 76.2 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002272/0.5345, allocations: 0.7096 MB / 0.642 GB, free: 76.2 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003537/0.5381, allocations: 1.667 MB / 0.6436 GB, free: 76.2 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001246/0.5393, allocations: 2.217 MB / 0.6458 GB, free: 76.2 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.002819/0.5422, allocations: 2.556 MB / 0.6483 GB, free: 76.2 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.006727/0.5489, allocations: 7.099 MB / 0.6552 GB, free: 75.52 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5489, allocations: 1.438 kB / 0.6552 GB, free: 75.52 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5489, allocations: 0 / 0.6552 GB, free: 75.52 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.000277/0.5492, allocations: 0.6562 kB / 0.6552 GB, free: 75.52 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.007176/0.5563, allocations: 8.563 MB / 0.6636 GB, free: 71.73 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.5564, allocations: 10.62 kB / 0.6636 GB, free: 71.73 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.5578, allocations: 1.373 MB / 0.6649 GB, free: 71.2 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004041/0.5619, allocations: 4.682 MB / 0.6695 GB, free: 70 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.562, allocations: 353.3 kB / 0.6698 GB, free: 69.99 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004113/0.5624, allocations: 473.5 kB / 0.6703 GB, free: 69.99 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.5731, allocations: 11.47 MB / 0.6815 GB, free: 62.36 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/0.5732, allocations: 72.12 kB / 0.6815 GB, free: 62.36 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003622/0.5736, allocations: 244.5 kB / 0.6818 GB, free: 62.36 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001361/0.5737, allocations: 164.5 kB / 0.6819 GB, free: 62.36 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00882/0.5825, allocations: 5.238 MB / 0.687 GB, free: 62.25 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02304/0.6056, allocations: 68.06 MB / 0.7535 GB, free: 15.61 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007904/0.6135, allocations: 4.664 MB / 0.7581 GB, free: 13.49 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001206/0.6147, allocations: 1.121 MB / 0.7592 GB, free: 12.98 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005486/0.6152, allocations: 331.5 kB / 0.7595 GB, free: 12.87 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.482e-05/0.6153, allocations: 102 kB / 0.7596 GB, free: 12.79 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=863): time 6.802e-06/0.6153, allocations: 2.688 kB / 0.7596 GB, free: 12.79 MB / 0.5574 GB Notification: Performance of matching and sorting (n=863): time 0.0172/0.6325, allocations: 9.333 MB / 0.7687 GB, free: 9.539 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000385/0.6329, allocations: 1.264 MB / 0.7699 GB, free: 8.027 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00507/0.638, allocations: 5.408 MB / 0.7752 GB, free: 5.871 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0004598/0.6384, allocations: 89.45 kB / 0.7753 GB, free: 5.793 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001973/0.6404, allocations: 3.495 MB / 0.7787 GB, free: 2.98 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.00203/0.6424, allocations: 2.978 MB / 0.7816 GB, free: 0.5156 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001997/0.6444, allocations: 2.09 MB / 0.7837 GB, free: 15.49 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.6445, allocations: 483.9 kB / 0.7841 GB, free: 15.02 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.6463, allocations: 1.329 MB / 0.7854 GB, free: 14.62 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004003/0.6503, allocations: 6.56 MB / 0.7918 GB, free: 7.566 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006611/0.6569, allocations: 7.887 MB / 0.7995 GB, free: 14.52 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.543e-05/0.6569, allocations: 28 kB / 0.7996 GB, free: 14.5 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.01009/0.667, allocations: 7.305 MB / 0.8067 GB, free: 7.848 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 4.71e-05/0.6671, allocations: 48 kB / 0.8067 GB, free: 7.801 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005061/0.6721, allocations: 4.057 MB / 0.8107 GB, free: 3.75 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003007/0.6724, allocations: 156 kB / 0.8108 GB, free: 3.598 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004276/0.6767, allocations: 2.521 MB / 0.8133 GB, free: 1.238 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001196/0.6768, allocations: 216 kB / 0.8135 GB, free: 1.066 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00465/0.6815, allocations: 1.029 MB / 0.8145 GB, free: 36 kB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006629/0.6822, allocations: 0.5699 MB / 0.8151 GB, free: 15.46 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003635/0.6858, allocations: 1.502 MB / 0.8165 GB, free: 13.96 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00413/0.6899, allocations: 6.518 MB / 0.8229 GB, free: 5.57 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006325/0.6962, allocations: 7.819 MB / 0.8305 GB, free: 12.58 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.083e-05/0.6963, allocations: 28 kB / 0.8306 GB, free: 12.55 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.009195/0.7055, allocations: 7.211 MB / 0.8376 GB, free: 5.703 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/0.7055, allocations: 49.09 kB / 0.8377 GB, free: 5.656 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004872/0.7104, allocations: 3.968 MB / 0.8415 GB, free: 1.641 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.76e-05/0.7105, allocations: 152.8 kB / 0.8417 GB, free: 1.492 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00428/0.7147, allocations: 2.507 MB / 0.8441 GB, free: 14.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001145/0.7149, allocations: 215.3 kB / 0.8443 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003654/0.7185, allocations: 0.8543 MB / 0.8452 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005853/0.7191, allocations: 0.5582 MB / 0.8457 GB, free: 13.36 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 (valve1.pressureLoss.normIsValid,valve2.pressureLoss.normIsValid,valve4.pressureLoss.normIsValid,valve5.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.001574/0.7207, allocations: 0.8558 MB / 0.8465 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001791/0.7225, allocations: 0.9007 MB / 0.8474 GB, free: 11.59 MB / 0.6355 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.01096/0.7334, allocations: 11.07 MB / 0.8582 GB, free: 1.797 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.520930228754878]