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.008825/0.008825, allocations: 1.795 MB / 21.35 MB, free: 3.195 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.0007727/0.0007727, allocations: 87.23 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.001175/0.001175, allocations: 163.7 kB / 29.06 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.9693/0.9693, allocations: 177.2 MB / 210 MB, free: 3.598 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.636/0.636, allocations: 102.4 MB / 369.5 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 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.603e-06/1.603e-06, allocations: 0 / 469.9 MB, free: 18.97 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.262e-05, allocations: 4.094 kB / 470 MB, free: 18.97 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.125/0.125, allocations: 79.53 MB / 0.5366 GB, free: 8.359 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03262/0.1576, allocations: 21.6 MB / 0.5577 GB, free: 2.703 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006676/0.1643, allocations: 194.4 kB / 0.5579 GB, free: 2.512 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007817/0.1721, allocations: 2.853 MB / 0.5607 GB, free: 15.64 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01341/0.1855, allocations: 4.745 MB / 0.5653 GB, free: 10.87 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01112/0.1967, allocations: 4.951 MB / 0.5701 GB, free: 5.906 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01883/0.2155, allocations: 12.48 MB / 0.5823 GB, free: 9.379 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007299/0.2228, allocations: 4.019 MB / 0.5863 GB, free: 5.293 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01615/0.2389, allocations: 6.742 MB / 0.5928 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007939/0.2469, allocations: 4.085 MB / 0.5968 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002805/0.2497, allocations: 0.7617 MB / 0.5976 GB, free: 9.68 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006368/0.2561, allocations: 1.841 MB / 0.5994 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.003539/0.2596, allocations: 2.355 MB / 0.6017 GB, free: 5.473 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.006135/0.2657, allocations: 2.641 MB / 0.6043 GB, free: 2.824 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.2803, allocations: 7.296 MB / 0.6114 GB, free: 11.5 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2803, allocations: 0 / 0.6114 GB, free: 11.5 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2803, allocations: 0 / 0.6114 GB, free: 11.5 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0004033/0.2807, allocations: 0 / 0.6114 GB, free: 11.5 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.01299/0.2937, allocations: 8.75 MB / 0.6199 GB, free: 2.66 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.2938, allocations: 8.031 kB / 0.6199 GB, free: 2.652 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00296/0.2967, allocations: 1.494 MB / 0.6214 GB, free: 1.152 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009168/0.3059, allocations: 5.741 MB / 0.627 GB, free: 11.32 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005096/0.3064, allocations: 361.7 kB / 0.6273 GB, free: 10.96 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008151/0.3072, allocations: 472.4 kB / 0.6278 GB, free: 10.5 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01661/0.3238, allocations: 11.82 MB / 0.6393 GB, free: 12.23 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001354/0.324, allocations: 71.31 kB / 0.6394 GB, free: 12.16 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005331/0.3245, allocations: 236 kB / 0.6396 GB, free: 11.93 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.3246, allocations: 168 kB / 0.6398 GB, free: 11.76 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01236/0.337, allocations: 5.716 MB / 0.6454 GB, free: 6.02 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2765/0.6135, allocations: 68.79 MB / 0.7125 GB, free: 39.59 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/0.6242, allocations: 4.945 MB / 0.7174 GB, free: 38.73 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003175/0.6274, allocations: 1.283 MB / 0.7186 GB, free: 38.44 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.6284, allocations: 336.6 kB / 0.7189 GB, free: 38.42 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.023e-05/0.6285, allocations: 109.6 kB / 0.7191 GB, free: 38.38 MB / 0.573 GB Notification: Performance of pre-optimization done (n=863): time 1.074e-05/0.6285, allocations: 0 / 0.7191 GB, free: 38.38 MB / 0.573 GB Notification: Performance of matching and sorting (n=863): time 0.02397/0.6525, allocations: 9.906 MB / 0.7287 GB, free: 38.07 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.6527, allocations: 0.9615 MB / 0.7297 GB, free: 36.94 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008174/0.6608, allocations: 5.533 MB / 0.7351 GB, free: 36.25 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001492/0.6623, allocations: 93.17 kB / 0.7352 GB, free: 36.22 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003225/0.6656, allocations: 3.427 MB / 0.7385 GB, free: 35.04 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003475/0.669, allocations: 2.955 MB / 0.7414 GB, free: 33.42 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003031/0.6721, allocations: 2.028 MB / 0.7434 GB, free: 33.23 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.6722, allocations: 478.1 kB / 0.7438 GB, free: 32.76 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003038/0.6752, allocations: 1.616 MB / 0.7454 GB, free: 32.68 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00502/0.6802, allocations: 6.385 MB / 0.7516 GB, free: 26.69 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009161/0.6894, allocations: 8.34 MB / 0.7598 GB, free: 20.88 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001287/0.6895, allocations: 27.94 kB / 0.7598 GB, free: 20.88 MB / 0.573 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.0148/0.7043, allocations: 7.901 MB / 0.7675 GB, free: 18.8 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.7044, allocations: 47.78 kB / 0.7676 GB, free: 18.8 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007618/0.712, allocations: 4.463 MB / 0.7719 GB, free: 17.17 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.7122, allocations: 155.3 kB / 0.7721 GB, free: 17.17 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005647/0.7179, allocations: 2.51 MB / 0.7745 GB, free: 16.65 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002046/0.7181, allocations: 216.4 kB / 0.7747 GB, free: 16.63 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005824/0.7239, allocations: 1.023 MB / 0.7757 GB, free: 16.01 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001732/0.7256, allocations: 0.6417 MB / 0.7764 GB, free: 15.82 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006043/0.7317, allocations: 1.77 MB / 0.7781 GB, free: 15.11 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005746/0.7374, allocations: 6.335 MB / 0.7843 GB, free: 8.301 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008857/0.7463, allocations: 8.25 MB / 0.7923 GB, free: 1.473 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.582e-05/0.7464, allocations: 30.95 kB / 0.7924 GB, free: 1.473 MB / 0.573 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.01442/0.7608, allocations: 7.805 MB / 0.8 GB, free: 11.35 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 5.8e-05/0.7608, allocations: 48 kB / 0.8 GB, free: 11.3 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007783/0.7686, allocations: 4.366 MB / 0.8043 GB, free: 6.941 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001802/0.7688, allocations: 156 kB / 0.8044 GB, free: 6.789 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005493/0.7743, allocations: 2.487 MB / 0.8069 GB, free: 4.461 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001958/0.7745, allocations: 217.1 kB / 0.8071 GB, free: 4.289 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004787/0.7793, allocations: 0.8395 MB / 0.8079 GB, free: 3.449 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001369/0.7806, allocations: 0.635 MB / 0.8085 GB, free: 2.816 MB / 0.5887 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.002455/0.7831, allocations: 0.8448 MB / 0.8093 GB, free: 2.125 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002674/0.7858, allocations: 0.9003 MB / 0.8102 GB, free: 1.223 MB / 0.5887 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.0164/0.8022, allocations: 11.16 MB / 0.8211 GB, free: 6.797 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.8727227705530822]