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.01029/0.01029, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.0008359/0.0008359, allocations: 83.27 kB / 25.4 MB, free: 7 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.0008777/0.0008777, allocations: 164.2 kB / 29.33 MB, free: 3.137 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.9121/0.9121, allocations: 177.1 MB / 210.3 MB, free: 3.453 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.6267/0.6267, allocations: 102.4 MB / 369.9 MB, free: 184 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.532e-06/1.532e-06, allocations: 0 / 470.4 MB, free: 18.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327e-05/1.48e-05, allocations: 3.156 kB / 470.4 MB, free: 18.8 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.1305/0.1305, allocations: 78.58 MB / 0.5362 GB, free: 8.973 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.02709/0.1576, allocations: 21.51 MB / 0.5572 GB, free: 3.41 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004835/0.1624, allocations: 202.4 kB / 0.5573 GB, free: 3.211 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004052/0.1665, allocations: 2.849 MB / 0.5601 GB, free: 352 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00728/0.1738, allocations: 4.76 MB / 0.5648 GB, free: 11.55 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.006312/0.1801, allocations: 4.955 MB / 0.5696 GB, free: 6.59 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.01017/0.1903, allocations: 12.47 MB / 0.5818 GB, free: 10.07 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003504/0.1938, allocations: 4.019 MB / 0.5857 GB, free: 5.988 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1158/0.3096, allocations: 52.1 MB / 0.6366 GB, free: 3.051 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2122/0.5218, allocations: 3.997 MB / 0.6405 GB, free: 76.3 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.002644/0.5244, allocations: 0.7129 MB / 0.6412 GB, free: 76.3 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004085/0.5285, allocations: 1.669 MB / 0.6428 GB, free: 76.3 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001287/0.5298, allocations: 2.216 MB / 0.645 GB, free: 76.3 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.003402/0.5332, allocations: 2.552 MB / 0.6475 GB, free: 76.3 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.008404/0.5416, allocations: 7.098 MB / 0.6544 GB, free: 75.62 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5416, allocations: 0 / 0.6544 GB, free: 75.62 MB / 0.5418 GB Notification: Performance of FrontEnd: time 9.12e-07/0.5416, allocations: 0 / 0.6544 GB, free: 75.62 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0002814/0.5419, allocations: 0.6562 kB / 0.6544 GB, free: 75.62 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.009742/0.5516, allocations: 8.569 MB / 0.6628 GB, free: 71.82 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.5516, allocations: 12.91 kB / 0.6628 GB, free: 71.82 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002013/0.5537, allocations: 1.373 MB / 0.6641 GB, free: 71.3 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005501/0.5592, allocations: 4.679 MB / 0.6687 GB, free: 70.09 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002346/0.5594, allocations: 355.6 kB / 0.6691 GB, free: 70.08 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005332/0.5599, allocations: 475 kB / 0.6695 GB, free: 70.08 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01462/0.5745, allocations: 11.47 MB / 0.6807 GB, free: 62.45 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001849/0.5747, allocations: 68.59 kB / 0.6808 GB, free: 62.45 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004755/0.5752, allocations: 239.8 kB / 0.681 GB, free: 62.45 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001921/0.5754, allocations: 165.9 kB / 0.6812 GB, free: 62.45 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.5859, allocations: 5.238 MB / 0.6863 GB, free: 62.35 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02498/0.6109, allocations: 68.07 MB / 0.7528 GB, free: 15.61 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007563/0.6185, allocations: 4.654 MB / 0.7573 GB, free: 13.5 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.6196, allocations: 1.122 MB / 0.7584 GB, free: 12.99 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006314/0.6202, allocations: 480.3 kB / 0.7588 GB, free: 12.89 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.391e-05/0.6203, allocations: 105.5 kB / 0.759 GB, free: 12.81 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=863): time 6.412e-06/0.6203, allocations: 0 / 0.759 GB, free: 12.81 MB / 0.5574 GB Notification: Performance of matching and sorting (n=863): time 0.01627/0.6366, allocations: 9.332 MB / 0.7681 GB, free: 9.555 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005341/0.6371, allocations: 1.263 MB / 0.7693 GB, free: 8.043 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004887/0.642, allocations: 5.403 MB / 0.7746 GB, free: 5.891 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.000413/0.6424, allocations: 90.95 kB / 0.7747 GB, free: 5.812 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001982/0.6444, allocations: 3.503 MB / 0.7781 GB, free: 2.992 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001836/0.6462, allocations: 2.97 MB / 0.781 GB, free: 0.5352 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001843/0.6481, allocations: 2.096 MB / 0.783 GB, free: 15.51 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.6482, allocations: 483.5 kB / 0.7835 GB, free: 15.04 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.6498, allocations: 1.333 MB / 0.7848 GB, free: 14.64 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004197/0.654, allocations: 6.557 MB / 0.7912 GB, free: 7.574 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006533/0.6605, allocations: 7.882 MB / 0.7989 GB, free: 14.53 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.817e-05/0.6606, allocations: 28 kB / 0.7989 GB, free: 14.5 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.009553/0.6701, allocations: 7.311 MB / 0.8061 GB, free: 7.848 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 4.859e-05/0.6702, allocations: 44 kB / 0.8061 GB, free: 7.805 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005209/0.6754, allocations: 4.057 MB / 0.8101 GB, free: 3.75 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001011/0.6755, allocations: 156 kB / 0.8102 GB, free: 3.598 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003935/0.6794, allocations: 2.521 MB / 0.8127 GB, free: 1.234 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001211/0.6795, allocations: 222.8 kB / 0.8129 GB, free: 1.059 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003697/0.6832, allocations: 1.025 MB / 0.8139 GB, free: 32 kB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005936/0.6838, allocations: 0.566 MB / 0.8144 GB, free: 15.46 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003235/0.6871, allocations: 1.504 MB / 0.8159 GB, free: 13.96 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003946/0.691, allocations: 6.523 MB / 0.8223 GB, free: 5.562 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006095/0.6971, allocations: 7.809 MB / 0.8299 GB, free: 12.57 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.594e-05/0.6971, allocations: 28 kB / 0.8299 GB, free: 12.55 MB / 0.6199 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.009151/0.7063, allocations: 7.218 MB / 0.837 GB, free: 5.691 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/0.7063, allocations: 51.98 kB / 0.837 GB, free: 5.641 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004564/0.7109, allocations: 3.964 MB / 0.8409 GB, free: 1.629 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.608e-05/0.711, allocations: 156.7 kB / 0.8411 GB, free: 1.477 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00407/0.715, allocations: 2.5 MB / 0.8435 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001177/0.7152, allocations: 222.1 kB / 0.8437 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003553/0.7187, allocations: 0.8517 MB / 0.8445 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005512/0.7193, allocations: 0.5582 MB / 0.8451 GB, free: 13.35 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.001453/0.7207, allocations: 0.8575 MB / 0.8459 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001657/0.7224, allocations: 0.9003 MB / 0.8468 GB, free: 11.58 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.01098/0.7334, allocations: 11.07 MB / 0.8576 GB, free: 1.762 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.628573896829039]