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.008368/0.008368, allocations: 1.791 MB / 21.89 MB, free: 2.633 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.0007993/0.0007993, allocations: 84.56 kB / 25.61 MB, free: 6.941 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.0008599/0.0008599, allocations: 172.8 kB / 29.46 MB, free: 3.152 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.9604/0.9604, allocations: 177.2 MB / 210.4 MB, free: 3.547 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.6643/0.6643, allocations: 102.4 MB / 369.8 MB, free: 336 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.274e-06/2.274e-06, allocations: 0 / 469.9 MB, free: 19.02 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/3.121e-05, allocations: 7.547 kB / 469.9 MB, free: 19.02 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.1452, allocations: 79.37 MB / 0.5364 GB, free: 8.84 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03569/0.1809, allocations: 21.58 MB / 0.5574 GB, free: 3.211 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007454/0.1883, allocations: 194.5 kB / 0.5576 GB, free: 3.02 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.007524/0.1959, allocations: 2.842 MB / 0.5604 GB, free: 164 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.01299/0.2089, allocations: 4.749 MB / 0.565 GB, free: 11.38 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.01025/0.2191, allocations: 4.947 MB / 0.5699 GB, free: 6.426 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01731/0.2364, allocations: 12.48 MB / 0.5821 GB, free: 9.902 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006851/0.2433, allocations: 4.023 MB / 0.586 GB, free: 5.812 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01503/0.2583, allocations: 6.738 MB / 0.5926 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007964/0.2663, allocations: 4.083 MB / 0.5965 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002869/0.2691, allocations: 0.7656 MB / 0.5973 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005972/0.2751, allocations: 1.829 MB / 0.5991 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.003871/0.279, allocations: 2.358 MB / 0.6014 GB, free: 6 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.006628/0.2856, allocations: 2.649 MB / 0.604 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01461/0.3002, allocations: 7.296 MB / 0.6111 GB, free: 12.02 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3002, allocations: 0 / 0.6111 GB, free: 12.02 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.344e-06/0.3002, allocations: 0 / 0.6111 GB, free: 12.02 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 0.0003978/0.3006, allocations: 0 / 0.6111 GB, free: 12.02 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.0129/0.3135, allocations: 8.75 MB / 0.6196 GB, free: 3.18 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3136, allocations: 16.03 kB / 0.6197 GB, free: 3.164 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002908/0.3165, allocations: 1.486 MB / 0.6211 GB, free: 1.672 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01016/0.3266, allocations: 5.73 MB / 0.6267 GB, free: 11.85 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/0.3269, allocations: 357.8 kB / 0.627 GB, free: 11.5 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008223/0.3278, allocations: 476.4 kB / 0.6275 GB, free: 11.03 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01808/0.3458, allocations: 11.81 MB / 0.639 GB, free: 12.77 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/0.346, allocations: 71.31 kB / 0.6391 GB, free: 12.7 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005092/0.3465, allocations: 236 kB / 0.6393 GB, free: 12.46 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/0.3466, allocations: 168 kB / 0.6395 GB, free: 12.3 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0134/0.36, allocations: 5.72 MB / 0.6451 GB, free: 6.555 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2532/0.6132, allocations: 68.78 MB / 0.7122 GB, free: 83.18 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01249/0.6257, allocations: 4.95 MB / 0.7171 GB, free: 82.02 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002922/0.6286, allocations: 1.286 MB / 0.7183 GB, free: 81.56 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008374/0.6295, allocations: 333.3 kB / 0.7187 GB, free: 81.52 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.112e-05/0.6295, allocations: 105.6 kB / 0.7188 GB, free: 81.44 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=863): time 8.907e-06/0.6295, allocations: 0 / 0.7188 GB, free: 81.44 MB / 0.5574 GB Notification: Performance of matching and sorting (n=863): time 0.02692/0.6565, allocations: 9.922 MB / 0.7284 GB, free: 80.43 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002167/0.6567, allocations: 0.9657 MB / 0.7294 GB, free: 79.3 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008754/0.6654, allocations: 5.537 MB / 0.7348 GB, free: 76.86 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001276/0.6667, allocations: 83.7 kB / 0.7349 GB, free: 76.79 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.002253/0.669, allocations: 3.432 MB / 0.7382 GB, free: 74.1 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.003125/0.6721, allocations: 2.946 MB / 0.7411 GB, free: 71.91 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003643/0.6757, allocations: 2.029 MB / 0.7431 GB, free: 70.74 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 4.935e-05/0.6758, allocations: 481.8 kB / 0.7435 GB, free: 70.27 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003853/0.6796, allocations: 1.617 MB / 0.7451 GB, free: 69.72 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006135/0.6858, allocations: 6.376 MB / 0.7513 GB, free: 62.89 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01107/0.6968, allocations: 8.339 MB / 0.7595 GB, free: 55.65 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001565/0.697, allocations: 30 kB / 0.7595 GB, free: 55.65 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.01883/0.7158, allocations: 7.898 MB / 0.7672 GB, free: 52.49 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 8.077e-05/0.7159, allocations: 46.78 kB / 0.7673 GB, free: 52.49 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01216/0.7281, allocations: 4.479 MB / 0.7717 GB, free: 49.63 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/0.7283, allocations: 158.7 kB / 0.7718 GB, free: 49.48 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007039/0.7353, allocations: 2.504 MB / 0.7742 GB, free: 46.97 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002459/0.7356, allocations: 215.2 kB / 0.7745 GB, free: 46.76 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00679/0.7424, allocations: 1.024 MB / 0.7755 GB, free: 45.76 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001927/0.7443, allocations: 0.6402 MB / 0.7761 GB, free: 45.12 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006174/0.7505, allocations: 1.774 MB / 0.7778 GB, free: 43.34 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005962/0.7564, allocations: 6.329 MB / 0.784 GB, free: 34.98 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01033/0.7668, allocations: 8.245 MB / 0.792 GB, free: 24.93 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.557e-05/0.7668, allocations: 28 kB / 0.7921 GB, free: 24.91 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.01563/0.7825, allocations: 7.807 MB / 0.7997 GB, free: 17.12 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.752e-05/0.7825, allocations: 44.88 kB / 0.7997 GB, free: 17.07 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007656/0.7902, allocations: 4.374 MB / 0.804 GB, free: 12.66 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001435/0.7903, allocations: 156 kB / 0.8042 GB, free: 12.5 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004929/0.7952, allocations: 2.491 MB / 0.8066 GB, free: 10.01 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001666/0.7954, allocations: 215.2 kB / 0.8068 GB, free: 9.801 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004894/0.8003, allocations: 0.8356 MB / 0.8076 GB, free: 8.965 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001207/0.8015, allocations: 0.6324 MB / 0.8082 GB, free: 8.332 MB / 0.5574 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.002142/0.8037, allocations: 0.8447 MB / 0.8091 GB, free: 7.477 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002496/0.8062, allocations: 0.8969 MB / 0.8099 GB, free: 6.574 MB / 0.5574 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.01425/0.8204, allocations: 11.16 MB / 0.8208 GB, free: 11.76 MB / 0.573 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.9104579898994416]