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.008235/0.008235, allocations: 1.794 MB / 21.35 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.001296/0.001296, allocations: 87.34 kB / 25.15 MB, free: 6.316 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.001611/0.001611, allocations: 161.6 kB / 29.05 MB, free: 3.352 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.9421/0.9421, allocations: 177.1 MB / 210 MB, free: 3.609 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.6192/0.6192, allocations: 102.4 MB / 369.5 MB, free: 392 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: 2.562 kB / 470 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.965e-05, allocations: 5.828 kB / 470 MB, free: 18.95 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.1254/0.1254, allocations: 79.53 MB / 0.5366 GB, free: 8.336 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.03129/0.1567, allocations: 21.61 MB / 0.5577 GB, free: 2.672 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005189/0.1619, allocations: 194.4 kB / 0.5579 GB, free: 2.48 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004426/0.1663, allocations: 2.842 MB / 0.5607 GB, free: 15.62 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.008686/0.175, allocations: 4.749 MB / 0.5653 GB, free: 10.84 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.007456/0.1825, allocations: 4.951 MB / 0.5702 GB, free: 5.883 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01221/0.1947, allocations: 12.49 MB / 0.5823 GB, free: 9.352 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004488/0.1992, allocations: 4.015 MB / 0.5863 GB, free: 5.27 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006355/0.2055, allocations: 6.742 MB / 0.5929 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004098/0.2096, allocations: 4.081 MB / 0.5968 GB, free: 10.42 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.001206/0.2108, allocations: 0.7617 MB / 0.5976 GB, free: 9.656 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003014/0.2139, allocations: 1.841 MB / 0.5994 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.2152, allocations: 2.358 MB / 0.6017 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002203/0.2174, allocations: 2.641 MB / 0.6043 GB, free: 2.797 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006826/0.2242, allocations: 7.296 MB / 0.6114 GB, free: 11.47 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.2243, allocations: 3.984 kB / 0.6114 GB, free: 11.47 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2243, allocations: 4 kB / 0.6114 GB, free: 11.46 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.298e-05/0.2243, allocations: 0 / 0.6114 GB, free: 11.46 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.007689/0.232, allocations: 8.742 MB / 0.6199 GB, free: 2.633 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.232, allocations: 8.031 kB / 0.6199 GB, free: 2.625 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.2339, allocations: 1.494 MB / 0.6214 GB, free: 1.125 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006272/0.2402, allocations: 5.75 MB / 0.627 GB, free: 11.29 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.2403, allocations: 357.8 kB / 0.6274 GB, free: 10.93 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004008/0.2407, allocations: 476.3 kB / 0.6278 GB, free: 10.47 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01227/0.253, allocations: 11.8 MB / 0.6393 GB, free: 12.21 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-05/0.2531, allocations: 75.31 kB / 0.6394 GB, free: 12.14 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002963/0.2534, allocations: 236 kB / 0.6396 GB, free: 11.91 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.983e-05/0.2535, allocations: 168 kB / 0.6398 GB, free: 11.74 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009448/0.2629, allocations: 5.712 MB / 0.6454 GB, free: 6.004 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2654/0.5283, allocations: 68.79 MB / 0.7126 GB, free: 39.77 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/0.5384, allocations: 4.941 MB / 0.7174 GB, free: 38.91 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00178/0.5402, allocations: 1.291 MB / 0.7186 GB, free: 38.62 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006433/0.5408, allocations: 338.5 kB / 0.719 GB, free: 38.6 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.976e-05/0.5409, allocations: 100.9 kB / 0.7191 GB, free: 38.55 MB / 0.573 GB Notification: Performance of pre-optimization done (n=863): time 8.596e-06/0.5409, allocations: 2.688 kB / 0.7191 GB, free: 38.55 MB / 0.573 GB Notification: Performance of matching and sorting (n=863): time 0.02268/0.5636, allocations: 9.91 MB / 0.7287 GB, free: 38.25 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001933/0.5638, allocations: 0.9629 MB / 0.7297 GB, free: 37.12 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008197/0.572, allocations: 5.536 MB / 0.7351 GB, free: 36.43 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005483/0.5725, allocations: 82.86 kB / 0.7352 GB, free: 36.4 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002162/0.5747, allocations: 3.44 MB / 0.7385 GB, free: 35.21 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002068/0.5768, allocations: 2.951 MB / 0.7414 GB, free: 33.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002995/0.5798, allocations: 2.026 MB / 0.7434 GB, free: 33.41 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5799, allocations: 477.9 kB / 0.7438 GB, free: 32.94 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003605/0.5835, allocations: 1.615 MB / 0.7454 GB, free: 32.86 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005482/0.589, allocations: 6.377 MB / 0.7516 GB, free: 26.8 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009164/0.5982, allocations: 8.341 MB / 0.7598 GB, free: 21 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.385e-05/0.5982, allocations: 27.91 kB / 0.7598 GB, free: 21 MB / 0.573 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.01245/0.6107, allocations: 7.9 MB / 0.7675 GB, free: 18.81 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.728e-05/0.6107, allocations: 47.38 kB / 0.7676 GB, free: 18.81 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006149/0.6169, allocations: 4.48 MB / 0.7719 GB, free: 17.18 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001241/0.617, allocations: 153.8 kB / 0.7721 GB, free: 17.18 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004041/0.621, allocations: 2.508 MB / 0.7745 GB, free: 16.66 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000167/0.6212, allocations: 216.5 kB / 0.7748 GB, free: 16.64 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004084/0.6253, allocations: 1.028 MB / 0.7758 GB, free: 16.01 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006779/0.626, allocations: 0.6395 MB / 0.7764 GB, free: 15.82 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004075/0.63, allocations: 1.766 MB / 0.7781 GB, free: 15.12 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005281/0.6353, allocations: 6.337 MB / 0.7843 GB, free: 8.309 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009025/0.6444, allocations: 8.255 MB / 0.7924 GB, free: 1.48 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.171e-05/0.6444, allocations: 27.66 kB / 0.7924 GB, free: 1.48 MB / 0.573 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.01196/0.6563, allocations: 7.793 MB / 0.8 GB, free: 11.3 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/0.6564, allocations: 48 kB / 0.8 GB, free: 11.25 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006553/0.663, allocations: 4.367 MB / 0.8043 GB, free: 6.895 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00014/0.6631, allocations: 156 kB / 0.8045 GB, free: 6.742 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004392/0.6675, allocations: 2.492 MB / 0.8069 GB, free: 4.406 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001981/0.6677, allocations: 219.9 kB / 0.8071 GB, free: 4.238 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004252/0.6719, allocations: 0.8395 MB / 0.8079 GB, free: 3.398 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007394/0.6727, allocations: 0.6389 MB / 0.8085 GB, free: 2.762 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.002107/0.6748, allocations: 0.8443 MB / 0.8094 GB, free: 2.07 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002183/0.677, allocations: 0.8929 MB / 0.8102 GB, free: 1.172 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.01162/0.6886, allocations: 11.17 MB / 0.8211 GB, free: 6.73 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.7566832872107625]