Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.008209/0.008209, allocations: 1.798 MB / 21.36 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.0007719/0.0007719, allocations: 85.34 kB / 25.15 MB, free: 6.387 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.0008469/0.0008469, allocations: 170.5 kB / 29.07 MB, free: 3.375 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.887/0.887, allocations: 177.2 MB / 210 MB, free: 3.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.6097/0.6097, allocations: 102.4 MB / 369.5 MB, free: 368 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves") translateModel(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter=".*",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 470 MB, free: 18.96 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.622e-05, allocations: 2.312 kB / 470 MB, free: 18.96 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.124/0.124, allocations: 79.52 MB / 0.5366 GB, free: 8.344 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02771/0.1517, allocations: 21.61 MB / 0.5577 GB, free: 2.68 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00589/0.1576, allocations: 198.4 kB / 0.5579 GB, free: 2.484 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.00503/0.1627, allocations: 2.845 MB / 0.5607 GB, free: 15.62 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.009155/0.1718, allocations: 4.76 MB / 0.5653 GB, free: 10.83 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007728/0.1795, allocations: 4.951 MB / 0.5702 GB, free: 5.871 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01339/0.1929, allocations: 12.48 MB / 0.5823 GB, free: 9.348 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005725/0.1987, allocations: 4.015 MB / 0.5863 GB, free: 5.266 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1734/0.3721, allocations: 52.09 MB / 0.6371 GB, free: 2.32 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2049/0.577, allocations: 3.996 MB / 0.641 GB, free: 76.07 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002568/0.5796, allocations: 0.7096 MB / 0.6417 GB, free: 76.07 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004411/0.584, allocations: 1.674 MB / 0.6434 GB, free: 76.07 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001743/0.5857, allocations: 2.21 MB / 0.6455 GB, free: 76.07 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.003283/0.589, allocations: 2.558 MB / 0.648 GB, free: 76.07 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.00806/0.5971, allocations: 7.101 MB / 0.655 GB, free: 75.39 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5971, allocations: 0 / 0.655 GB, free: 75.39 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5971, allocations: 0 / 0.655 GB, free: 75.39 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 7.514e-05/0.5971, allocations: 2.656 kB / 0.655 GB, free: 75.39 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.008386/0.6055, allocations: 8.482 MB / 0.6632 GB, free: 71.6 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.6056, allocations: 9.5 kB / 0.6633 GB, free: 71.6 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00178/0.6073, allocations: 1.37 MB / 0.6646 GB, free: 71.07 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005298/0.6126, allocations: 4.746 MB / 0.6692 GB, free: 69.87 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.6128, allocations: 356.1 kB / 0.6696 GB, free: 69.86 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003752/0.6132, allocations: 476.3 kB / 0.67 GB, free: 69.86 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01166/0.6248, allocations: 11.87 MB / 0.6816 GB, free: 62.23 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.625, allocations: 72.41 kB / 0.6817 GB, free: 62.23 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003768/0.6253, allocations: 238.1 kB / 0.6819 GB, free: 62.23 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/0.6255, allocations: 166.2 kB / 0.6821 GB, free: 62.23 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/0.6357, allocations: 5.819 MB / 0.6878 GB, free: 62.05 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02278/0.6585, allocations: 68.97 MB / 0.7551 GB, free: 12.71 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008728/0.6673, allocations: 4.984 MB / 0.76 GB, free: 10.38 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.6689, allocations: 1.331 MB / 0.7613 GB, free: 9.754 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005614/0.6695, allocations: 335.5 kB / 0.7616 GB, free: 9.645 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.102e-05/0.6695, allocations: 103.8 kB / 0.7617 GB, free: 9.57 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=863): time 5.821e-06/0.6695, allocations: 2.625 kB / 0.7617 GB, free: 9.57 MB / 0.5574 GB Notification: Performance of matching and sorting (n=863): time 0.01798/0.6875, allocations: 10.04 MB / 0.7715 GB, free: 5.965 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00034/0.6879, allocations: 1.27 MB / 0.7727 GB, free: 4.449 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004514/0.6924, allocations: 5.485 MB / 0.7781 GB, free: 1.41 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0002982/0.6927, allocations: 89.3 kB / 0.7782 GB, free: 1.332 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001913/0.6946, allocations: 3.447 MB / 0.7816 GB, free: 14.33 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001763/0.6963, allocations: 2.944 MB / 0.7844 GB, free: 11.77 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001945/0.6983, allocations: 2.054 MB / 0.7864 GB, free: 10.58 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.6984, allocations: 487.4 kB / 0.7869 GB, free: 10.11 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00254/0.7009, allocations: 1.647 MB / 0.7885 GB, free: 9.523 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005842/0.7068, allocations: 6.828 MB / 0.7952 GB, free: 0.5938 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01221/0.719, allocations: 8.419 MB / 0.8034 GB, free: 6.793 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-05/0.7191, allocations: 28 kB / 0.8034 GB, free: 6.766 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.01758/0.7366, allocations: 7.996 MB / 0.8112 GB, free: 15.43 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 6.752e-05/0.7367, allocations: 48 kB / 0.8113 GB, free: 15.38 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009032/0.7457, allocations: 4.569 MB / 0.8157 GB, free: 10.82 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001088/0.7458, allocations: 156 kB / 0.8159 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004374/0.7502, allocations: 2.522 MB / 0.8184 GB, free: 8.305 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001354/0.7504, allocations: 216.5 kB / 0.8186 GB, free: 8.133 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004809/0.7552, allocations: 1.029 MB / 0.8196 GB, free: 7.098 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006974/0.7559, allocations: 0.6518 MB / 0.8202 GB, free: 6.445 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00394/0.7598, allocations: 1.799 MB / 0.822 GB, free: 4.637 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004675/0.7645, allocations: 6.787 MB / 0.8286 GB, free: 11.75 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007804/0.7723, allocations: 8.332 MB / 0.8367 GB, free: 2.012 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.432e-05/0.7723, allocations: 28 kB / 0.8368 GB, free: 1.984 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.01102/0.7833, allocations: 7.891 MB / 0.8445 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.7834, allocations: 48 kB / 0.8445 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006175/0.7895, allocations: 4.455 MB / 0.8489 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001023/0.7896, allocations: 156 kB / 0.849 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004323/0.794, allocations: 2.503 MB / 0.8514 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001471/0.7941, allocations: 221.9 kB / 0.8517 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003833/0.7979, allocations: 0.8595 MB / 0.8525 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000615/0.7986, allocations: 0.6363 MB / 0.8531 GB, free: 1.543 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.00166/0.8002, allocations: 0.8565 MB / 0.854 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001661/0.8019, allocations: 0.8891 MB / 0.8548 GB, free: 15.78 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.01154/0.8134, allocations: 11.17 MB / 0.8657 GB, free: 4.953 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.6194548490457237]