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.006038/0.006038, allocations: 1.442 MB / 20.54 MB, free: 4.012 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.0007133/0.0007133, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0007492/0.0007492, allocations: 165.8 kB / 27.86 MB, free: 5.496 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.8796/0.8796, allocations: 177.1 MB / 208.6 MB, free: 2.98 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.7295/0.7295, allocations: 102.5 MB / 367.9 MB, free: 1.5 MB / 330.8 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 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestValves",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.5362 GB, free: 40.06 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/2.006e-05, allocations: 2.844 kB / 0.5362 GB, free: 40.06 MB / 490.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.1167/0.1168, allocations: 72.89 MB / 0.6074 GB, free: 3.598 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02662/0.1434, allocations: 20.95 MB / 0.6278 GB, free: 14.58 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004196/0.1476, allocations: 198.4 kB / 0.628 GB, free: 14.39 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.004056/0.1516, allocations: 2.838 MB / 0.6308 GB, free: 11.53 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.006692/0.1583, allocations: 4.745 MB / 0.6354 GB, free: 6.758 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006912/0.1652, allocations: 4.959 MB / 0.6403 GB, free: 1.789 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01125/0.1765, allocations: 12.49 MB / 0.6525 GB, free: 5.254 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00408/0.1806, allocations: 3.826 MB / 0.6562 GB, free: 1.355 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006955/0.1875, allocations: 6.738 MB / 0.6628 GB, free: 10.6 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004426/0.192, allocations: 4.085 MB / 0.6668 GB, free: 6.504 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0007937/0.1928, allocations: 0.7617 MB / 0.6675 GB, free: 5.742 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.1957, allocations: 1.837 MB / 0.6693 GB, free: 3.902 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.001296/0.197, allocations: 2.358 MB / 0.6716 GB, free: 1.535 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.002234/0.1992, allocations: 2.633 MB / 0.6742 GB, free: 14.89 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.00846/0.2077, allocations: 11.6 MB / 0.6855 GB, free: 3.262 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2077, allocations: 0 / 0.6855 GB, free: 3.262 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2077, allocations: 0 / 0.6855 GB, free: 3.262 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001165/0.2078, allocations: 4 kB / 0.6855 GB, free: 3.258 MB / 0.573 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.008342/0.2161, allocations: 8.425 MB / 0.6937 GB, free: 10.75 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.2162, allocations: 8.031 kB / 0.6938 GB, free: 10.74 MB / 0.5887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006512/0.2168, allocations: 0.787 MB / 0.6945 GB, free: 9.941 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.2186, allocations: 1.115 MB / 0.6956 GB, free: 8.82 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006427/0.225, allocations: 6.006 MB / 0.7015 GB, free: 2.734 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/0.2253, allocations: 357.8 kB / 0.7018 GB, free: 2.383 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004111/0.2257, allocations: 451 kB / 0.7022 GB, free: 1.945 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/0.2391, allocations: 12.08 MB / 0.714 GB, free: 3.977 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002627/0.2394, allocations: 71.31 kB / 0.7141 GB, free: 3.906 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003555/0.2398, allocations: 236 kB / 0.7143 GB, free: 3.676 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.2399, allocations: 168 kB / 0.7145 GB, free: 3.512 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01196/0.2518, allocations: 7.916 MB / 0.7222 GB, free: 11.57 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.296/0.5478, allocations: 49.3 MB / 0.7704 GB, free: 138.3 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.5581, allocations: 6.169 MB / 0.7764 GB, free: 137 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00217/0.5602, allocations: 1.89 MB / 0.7782 GB, free: 136.1 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006456/0.5609, allocations: 315.9 kB / 0.7785 GB, free: 136 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.272e-05/0.561, allocations: 111.6 kB / 0.7786 GB, free: 136 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=863): time 6.352e-06/0.561, allocations: 2.656 kB / 0.7786 GB, free: 136 MB / 0.6512 GB Notification: Performance of matching and sorting (n=863): time 0.02082/0.5818, allocations: 12.01 MB / 0.7904 GB, free: 131.4 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/0.5819, allocations: 0.9665 MB / 0.7913 GB, free: 130.2 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00611/0.5881, allocations: 6.277 MB / 0.7974 GB, free: 127.2 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.000288/0.5883, allocations: 88.52 kB / 0.7975 GB, free: 127.1 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.5896, allocations: 3.208 MB / 0.8007 GB, free: 124.6 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/0.5908, allocations: 2.902 MB / 0.8035 GB, free: 122.4 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002048/0.5929, allocations: 1.925 MB / 0.8054 GB, free: 121.3 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 2.953e-05/0.5929, allocations: 301.1 kB / 0.8057 GB, free: 121 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003063/0.596, allocations: 2.886 MB / 0.8085 GB, free: 119.4 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004003/0.6, allocations: 6.302 MB / 0.8146 GB, free: 113.4 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00779/0.6078, allocations: 9.686 MB / 0.8241 GB, free: 106.1 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-05/0.6078, allocations: 28.25 kB / 0.8241 GB, free: 106.1 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.0105/0.6183, allocations: 9.963 MB / 0.8339 GB, free: 96.51 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.6183, allocations: 54.59 kB / 0.8339 GB, free: 96.46 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007349/0.6257, allocations: 6.532 MB / 0.8403 GB, free: 89.88 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.865e-05/0.6258, allocations: 154.7 kB / 0.8404 GB, free: 89.73 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003893/0.6297, allocations: 2.514 MB / 0.8429 GB, free: 87.21 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.255e-05/0.6298, allocations: 219.2 kB / 0.8431 GB, free: 87 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003757/0.6335, allocations: 1.119 MB / 0.8442 GB, free: 86.14 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005572/0.6341, allocations: 0.6402 MB / 0.8448 GB, free: 85.5 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005196/0.6393, allocations: 4.037 MB / 0.8488 GB, free: 81.46 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00389/0.6432, allocations: 6.237 MB / 0.8548 GB, free: 73.72 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007807/0.651, allocations: 9.563 MB / 0.8642 GB, free: 62.87 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.65e-05/0.651, allocations: 30.66 kB / 0.8642 GB, free: 62.84 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.01075/0.6618, allocations: 9.829 MB / 0.8738 GB, free: 53.03 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/0.6618, allocations: 44 kB / 0.8739 GB, free: 52.99 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006809/0.6686, allocations: 6.399 MB / 0.8801 GB, free: 46.55 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.577e-05/0.6687, allocations: 156 kB / 0.8803 GB, free: 46.39 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003695/0.6724, allocations: 2.498 MB / 0.8827 GB, free: 43.89 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.851e-05/0.6724, allocations: 215.2 kB / 0.8829 GB, free: 43.68 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003687/0.6761, allocations: 0.8926 MB / 0.8838 GB, free: 42.89 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005118/0.6766, allocations: 0.6324 MB / 0.8844 GB, free: 42.26 MB / 0.6512 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.001836/0.6785, allocations: 0.7551 MB / 0.8851 GB, free: 41.5 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/0.6796, allocations: 0.8146 MB / 0.8859 GB, free: 40.68 MB / 0.6512 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.01036/0.69, allocations: 11.88 MB / 0.8975 GB, free: 29.15 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.5010009137913585] Failed to read output from testmodel.py, exit status != 0: 0.847319039516151 0.855819727 0.646250993 Calling exit ...