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.008886/0.008886, allocations: 1.777 MB / 22.36 MB, free: 2.113 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.0009293/0.0009293, allocations: 82.52 kB / 26.19 MB, free: 6.078 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.0009931/0.0009931, allocations: 171 kB / 30.13 MB, free: 2.18 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 1.002/1.002, allocations: 177.2 MB / 211.1 MB, free: 3.414 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.6611/0.6611, allocations: 102.4 MB / 370.6 MB, free: 160 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 2.004e-06/2.004e-06, allocations: 3.938 kB / 471.2 MB, free: 18.81 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.814e-05/3.015e-05, allocations: 2.312 kB / 471.2 MB, free: 18.81 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.1452/0.1453, allocations: 78.56 MB / 0.5369 GB, free: 8.961 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.0303/0.1756, allocations: 21.52 MB / 0.5579 GB, free: 3.383 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006607/0.1822, allocations: 194.4 kB / 0.5581 GB, free: 3.191 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.006964/0.1891, allocations: 2.845 MB / 0.5609 GB, free: 336 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.2003, allocations: 4.76 MB / 0.5655 GB, free: 11.54 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.009755/0.2101, allocations: 4.951 MB / 0.5704 GB, free: 6.578 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01753/0.2276, allocations: 12.48 MB / 0.5826 GB, free: 10.06 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009273/0.2369, allocations: 4.019 MB / 0.5865 GB, free: 5.973 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1408/0.3777, allocations: 52.12 MB / 0.6374 GB, free: 3.035 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.233/0.6107, allocations: 3.991 MB / 0.6413 GB, free: 76.34 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002976/0.6136, allocations: 0.7108 MB / 0.642 GB, free: 76.34 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005266/0.6189, allocations: 1.668 MB / 0.6436 GB, free: 76.34 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.003785/0.6227, allocations: 2.213 MB / 0.6458 GB, free: 76.34 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.006948/0.6296, allocations: 2.557 MB / 0.6483 GB, free: 76.34 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01299/0.6426, allocations: 7.093 MB / 0.6552 GB, free: 75.67 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.6426, allocations: 2.781 kB / 0.6552 GB, free: 75.67 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6427, allocations: 2.656 kB / 0.6552 GB, free: 75.67 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0004638/0.6431, allocations: 0 / 0.6552 GB, free: 75.67 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.01163/0.6547, allocations: 8.569 MB / 0.6636 GB, free: 71.87 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.6548, allocations: 10.23 kB / 0.6636 GB, free: 71.87 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/0.657, allocations: 1.369 MB / 0.6649 GB, free: 71.34 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008085/0.6651, allocations: 4.68 MB / 0.6695 GB, free: 70.14 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000349/0.6655, allocations: 356.1 kB / 0.6698 GB, free: 70.13 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009321/0.6664, allocations: 472.8 kB / 0.6703 GB, free: 70.13 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01865/0.685, allocations: 11.47 MB / 0.6815 GB, free: 62.5 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004074/0.6854, allocations: 69.72 kB / 0.6815 GB, free: 62.5 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001523/0.687, allocations: 239.6 kB / 0.6818 GB, free: 62.5 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000405/0.6874, allocations: 168.1 kB / 0.6819 GB, free: 62.5 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01424/0.7016, allocations: 5.241 MB / 0.687 GB, free: 62.4 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03285/0.7345, allocations: 68.06 MB / 0.7535 GB, free: 15.7 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009842/0.7443, allocations: 4.657 MB / 0.7581 GB, free: 13.58 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002155/0.7465, allocations: 1.126 MB / 0.7591 GB, free: 13.07 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007309/0.7472, allocations: 331.8 kB / 0.7595 GB, free: 12.96 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.7473, allocations: 107.7 kB / 0.7596 GB, free: 12.88 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=863): time 7.795e-06/0.7473, allocations: 0 / 0.7596 GB, free: 12.88 MB / 0.5574 GB Notification: Performance of matching and sorting (n=863): time 0.02299/0.7703, allocations: 9.324 MB / 0.7687 GB, free: 9.637 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005018/0.7708, allocations: 1.271 MB / 0.7699 GB, free: 8.121 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006877/0.7777, allocations: 5.4 MB / 0.7752 GB, free: 5.973 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001074/0.7787, allocations: 90.22 kB / 0.7753 GB, free: 5.895 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.002425/0.7812, allocations: 3.503 MB / 0.7787 GB, free: 3.074 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.003409/0.7846, allocations: 2.974 MB / 0.7816 GB, free: 0.6133 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003361/0.7879, allocations: 2.091 MB / 0.7836 GB, free: 15.59 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.7881, allocations: 484.7 kB / 0.7841 GB, free: 15.11 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00208/0.7901, allocations: 1.332 MB / 0.7854 GB, free: 14.72 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004736/0.7949, allocations: 6.556 MB / 0.7918 GB, free: 7.652 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009023/0.8039, allocations: 7.889 MB / 0.7995 GB, free: 14.61 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001172/0.804, allocations: 28 kB / 0.7995 GB, free: 14.58 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.01383/0.8178, allocations: 7.313 MB / 0.8067 GB, free: 7.93 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 7.742e-05/0.8179, allocations: 48 kB / 0.8067 GB, free: 7.883 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006278/0.8242, allocations: 4.052 MB / 0.8107 GB, free: 3.832 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001437/0.8243, allocations: 154.7 kB / 0.8108 GB, free: 3.684 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005123/0.8295, allocations: 2.52 MB / 0.8133 GB, free: 1.32 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002092/0.8297, allocations: 220.6 kB / 0.8135 GB, free: 1.148 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006268/0.8359, allocations: 1.026 MB / 0.8145 GB, free: 124 kB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001655/0.8376, allocations: 0.5699 MB / 0.8151 GB, free: 15.55 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005282/0.8429, allocations: 1.504 MB / 0.8165 GB, free: 14.04 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005598/0.8485, allocations: 6.517 MB / 0.8229 GB, free: 5.652 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008728/0.8572, allocations: 7.815 MB / 0.8305 GB, free: 12.66 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001111/0.8573, allocations: 32.55 kB / 0.8306 GB, free: 12.63 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.01371/0.871, allocations: 7.214 MB / 0.8376 GB, free: 5.793 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 7.212e-05/0.8711, allocations: 48 kB / 0.8376 GB, free: 5.746 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006159/0.8773, allocations: 3.967 MB / 0.8415 GB, free: 1.734 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001457/0.8774, allocations: 152 kB / 0.8417 GB, free: 1.586 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005294/0.8827, allocations: 2.507 MB / 0.8441 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002168/0.8829, allocations: 215.2 kB / 0.8443 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006489/0.8894, allocations: 0.8505 MB / 0.8451 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002017/0.8914, allocations: 0.5621 MB / 0.8457 GB, free: 13.46 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.003316/0.8947, allocations: 0.8558 MB / 0.8465 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003467/0.8982, allocations: 0.8929 MB / 0.8474 GB, free: 11.69 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.01433/0.9125, allocations: 11.07 MB / 0.8582 GB, free: 1.887 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.018440781161189]