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.01176/0.01176, allocations: 1.784 MB / 21.57 MB, free: 2.898 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.0008164/0.0008164, allocations: 87.03 kB / 25.41 MB, free: 6.496 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.0008418/0.0008418, allocations: 158.7 kB / 29.33 MB, free: 2.969 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.962/0.962, allocations: 177.2 MB / 210.3 MB, free: 3.426 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.6334/0.6334, allocations: 102.5 MB / 369.9 MB, free: 212 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 2.094e-06/2.094e-06, allocations: 0 / 470.5 MB, free: 18.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.916e-05/3.125e-05, allocations: 6.969 kB / 470.5 MB, free: 18.83 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.1307/0.1307, allocations: 78.57 MB / 0.5362 GB, free: 8.953 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02912/0.1598, allocations: 21.53 MB / 0.5572 GB, free: 3.371 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006048/0.1659, allocations: 194.4 kB / 0.5574 GB, free: 3.18 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.005075/0.171, allocations: 2.849 MB / 0.5602 GB, free: 320 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009537/0.1805, allocations: 4.757 MB / 0.5648 GB, free: 11.53 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.008522/0.189, allocations: 4.955 MB / 0.5696 GB, free: 6.562 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01967/0.2087, allocations: 12.48 MB / 0.5818 GB, free: 10.04 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007364/0.216, allocations: 4.019 MB / 0.5858 GB, free: 5.957 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1192/0.3352, allocations: 52.11 MB / 0.6366 GB, free: 3.02 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2752/0.6104, allocations: 3.989 MB / 0.6405 GB, free: 76.39 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.00569/0.6161, allocations: 0.7117 MB / 0.6412 GB, free: 76.39 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004464/0.6206, allocations: 1.673 MB / 0.6429 GB, free: 76.39 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001215/0.6218, allocations: 2.207 MB / 0.645 GB, free: 76.39 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.003237/0.625, allocations: 2.561 MB / 0.6475 GB, free: 76.39 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.007615/0.6326, allocations: 7.096 MB / 0.6545 GB, free: 75.72 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.6327, allocations: 0 / 0.6545 GB, free: 75.72 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6327, allocations: 0 / 0.6545 GB, free: 75.72 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0002924/0.6329, allocations: 0 / 0.6545 GB, free: 75.72 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.009106/0.6421, allocations: 8.568 MB / 0.6628 GB, free: 71.93 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.6421, allocations: 9.844 kB / 0.6628 GB, free: 71.93 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.6435, allocations: 1.374 MB / 0.6642 GB, free: 71.4 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004171/0.6477, allocations: 4.684 MB / 0.6687 GB, free: 70.2 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001683/0.6479, allocations: 356.8 kB / 0.6691 GB, free: 70.18 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003988/0.6483, allocations: 470.8 kB / 0.6695 GB, free: 70.18 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.6587, allocations: 11.46 MB / 0.6807 GB, free: 62.55 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.733e-05/0.6588, allocations: 69.72 kB / 0.6808 GB, free: 62.55 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003369/0.6592, allocations: 239.8 kB / 0.681 GB, free: 62.55 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/0.6593, allocations: 167.6 kB / 0.6812 GB, free: 62.55 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009922/0.6692, allocations: 5.241 MB / 0.6863 GB, free: 62.45 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02266/0.6919, allocations: 68.06 MB / 0.7528 GB, free: 15.69 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007237/0.6991, allocations: 4.659 MB / 0.7573 GB, free: 13.57 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.7002, allocations: 1.12 MB / 0.7584 GB, free: 13.06 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006339/0.7009, allocations: 476.1 kB / 0.7589 GB, free: 12.96 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.232e-05/0.7009, allocations: 108.1 kB / 0.759 GB, free: 12.88 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=863): time 6.302e-06/0.7009, allocations: 2.656 kB / 0.759 GB, free: 12.88 MB / 0.5574 GB Notification: Performance of matching and sorting (n=863): time 0.01568/0.7166, allocations: 9.324 MB / 0.7681 GB, free: 9.633 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004671/0.7171, allocations: 1.266 MB / 0.7693 GB, free: 8.121 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005543/0.7226, allocations: 5.406 MB / 0.7746 GB, free: 5.969 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0003496/0.723, allocations: 89.08 kB / 0.7747 GB, free: 5.891 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.002714/0.7257, allocations: 3.495 MB / 0.7781 GB, free: 3.074 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.002526/0.7282, allocations: 2.982 MB / 0.781 GB, free: 0.6094 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00259/0.7308, allocations: 2.093 MB / 0.783 GB, free: 15.59 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.731, allocations: 481.3 kB / 0.7835 GB, free: 15.11 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002307/0.7333, allocations: 1.328 MB / 0.7848 GB, free: 14.72 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005824/0.7391, allocations: 6.56 MB / 0.7912 GB, free: 7.613 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009671/0.7488, allocations: 7.891 MB / 0.7989 GB, free: 14.56 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.141e-05/0.7488, allocations: 30.66 kB / 0.7989 GB, free: 14.53 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.01025/0.7591, allocations: 7.308 MB / 0.8061 GB, free: 7.875 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 5.085e-05/0.7591, allocations: 50.38 kB / 0.8061 GB, free: 7.828 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005116/0.7643, allocations: 4.061 MB / 0.8101 GB, free: 3.773 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001052/0.7644, allocations: 152 kB / 0.8102 GB, free: 3.625 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004268/0.7686, allocations: 2.523 MB / 0.8127 GB, free: 1.262 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002351/0.7689, allocations: 215.5 kB / 0.8129 GB, free: 1.094 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004993/0.7739, allocations: 1.033 MB / 0.8139 GB, free: 60 kB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006138/0.7745, allocations: 0.5705 MB / 0.8145 GB, free: 15.49 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00323/0.7777, allocations: 1.501 MB / 0.8159 GB, free: 13.98 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005115/0.7828, allocations: 6.521 MB / 0.8223 GB, free: 5.59 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007886/0.7907, allocations: 7.807 MB / 0.8299 GB, free: 12.6 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.96e-05/0.7908, allocations: 28 kB / 0.83 GB, free: 12.57 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.01006/0.8008, allocations: 7.208 MB / 0.837 GB, free: 5.734 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.8009, allocations: 48.98 kB / 0.837 GB, free: 5.688 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004574/0.8054, allocations: 3.974 MB / 0.8409 GB, free: 1.668 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.283e-05/0.8055, allocations: 152 kB / 0.8411 GB, free: 1.52 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00427/0.8098, allocations: 2.507 MB / 0.8435 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001221/0.8099, allocations: 211.3 kB / 0.8437 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004961/0.8149, allocations: 0.8479 MB / 0.8446 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005978/0.8155, allocations: 0.566 MB / 0.8451 GB, free: 13.39 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.001835/0.8173, allocations: 0.8545 MB / 0.8459 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001835/0.8191, allocations: 0.9007 MB / 0.8468 GB, free: 11.62 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.0111/0.8302, allocations: 11.07 MB / 0.8576 GB, free: 1.789 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.869458102155477]