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.01034/0.01034, allocations: 1.76 MB / 20.59 MB, free: 1.285 MB / 14.72 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.001263/0.001263, allocations: 107.2 kB / 24.19 MB, free: 2.691 MB / 14.72 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.001698/0.001698, allocations: 205.2 kB / 27.92 MB, free: 4.027 MB / 19.63 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 1.535/1.535, allocations: 230.6 MB / 262.1 MB, free: 6.008 MB / 206.1 MB " [Timeout remaining time 178] 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 1.165/1.165, allocations: 130.7 MB / 449.7 MB, free: 6.816 MB / 350.1 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.3.1 (/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: SMArtInt 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: ClaRa 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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.03377/0.03377, allocations: 20.78 MB / 0.6357 GB, free: 5.176 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.2273, allocations: 81.91 MB / 0.7157 GB, free: 3.16 MB / 0.5294 GB 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.6683/0.8955, allocations: 63.61 MB / 0.7779 GB, free: 7.43 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04451/0.94, allocations: 21.95 MB / 0.7993 GB, free: 7.691 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01313/0.9532, allocations: 197.2 kB / 0.7995 GB, free: 7.594 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01096/0.9641, allocations: 2.87 MB / 0.8023 GB, free: 5.605 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02077/0.9849, allocations: 4.598 MB / 0.8068 GB, free: 1.863 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01591/1.001, allocations: 4.882 MB / 0.8115 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02634/1.027, allocations: 12.18 MB / 0.8234 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01023/1.037, allocations: 3.531 MB / 0.8269 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01359/1.051, allocations: 4.949 MB / 0.8317 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01378/1.065, allocations: 5.076 MB / 0.8367 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.005636/1.07, allocations: 0.7617 MB / 0.8374 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01302/1.083, allocations: 2.234 MB / 0.8396 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005559/1.089, allocations: 2.316 MB / 0.8419 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01074/1.1, allocations: 4.262 MB / 0.846 GB, free: 13.62 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.0264/1.126, allocations: 11.87 MB / 0.8576 GB, free: 1.699 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.126, allocations: 0 / 0.8576 GB, free: 1.699 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.335e-06/1.126, allocations: 0 / 0.8576 GB, free: 1.699 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0005423/1.127, allocations: 6.594 kB / 0.8576 GB, free: 1.695 MB / 0.6232 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.0307/1.157, allocations: 8.519 MB / 0.8659 GB, free: 9.109 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 7.417e-05/1.157, allocations: 8.031 kB / 0.8659 GB, free: 9.102 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002693/1.16, allocations: 0.7871 MB / 0.8667 GB, free: 8.305 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0045/1.165, allocations: 1.118 MB / 0.8678 GB, free: 7.184 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01814/1.183, allocations: 5.991 MB / 0.8737 GB, free: 1.141 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004675/1.183, allocations: 353.4 kB / 0.874 GB, free: 0.793 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001803/1.185, allocations: 454.7 kB / 0.8744 GB, free: 360 kB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0273/1.212, allocations: 10.86 MB / 0.885 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001476/1.213, allocations: 71.31 kB / 0.8851 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006132/1.213, allocations: 246.6 kB / 0.8853 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001824/1.213, allocations: 164 kB / 0.8855 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02366/1.237, allocations: 7.955 MB / 0.8933 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05849/1.295, allocations: 51.85 MB / 0.9439 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0206/1.316, allocations: 6.179 MB / 0.9499 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005803/1.322, allocations: 1.895 MB / 0.9518 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00141/1.323, allocations: 361.8 kB / 0.9521 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/1.323, allocations: 98.95 kB / 0.9522 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=863): time 7.063e-06/1.323, allocations: 2.656 kB / 0.9522 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=863): time 0.04015/1.364, allocations: 12.01 MB / 0.9639 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005839/1.364, allocations: 0.9633 MB / 0.9649 GB, free: 28 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01061/1.375, allocations: 6.124 MB / 0.9709 GB, free: 9.934 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.001532/1.376, allocations: 89.69 kB / 0.971 GB, free: 9.84 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.002936/1.379, allocations: 3.229 MB / 0.9741 GB, free: 6.586 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.004229/1.383, allocations: 2.943 MB / 0.977 GB, free: 3.617 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003528/1.387, allocations: 1.944 MB / 0.9789 GB, free: 1.664 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.387, allocations: 301.1 kB / 0.9792 GB, free: 1.367 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005973/1.393, allocations: 2.889 MB / 0.982 GB, free: 14.47 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009417/1.402, allocations: 5.995 MB / 0.9878 GB, free: 7.133 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01796/1.42, allocations: 9.694 MB / 0.9973 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.222e-05/1.421, allocations: 28 kB / 0.9973 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02818/1.449, allocations: 9.956 MB / 1.007 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/1.449, allocations: 51.94 kB / 1.007 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01791/1.467, allocations: 6.544 MB / 1.013 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004148/1.467, allocations: 152 kB / 1.014 GB, free: 11.32 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01004/1.477, allocations: 2.515 MB / 1.016 GB, free: 8.797 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003938/1.478, allocations: 211.3 kB / 1.016 GB, free: 8.59 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008911/1.487, allocations: 1.113 MB / 1.017 GB, free: 7.469 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00247/1.489, allocations: 0.6488 MB / 1.018 GB, free: 6.824 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01232/1.501, allocations: 4.038 MB / 1.022 GB, free: 2.777 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01291/1.514, allocations: 5.937 MB / 1.028 GB, free: 11.41 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02014/1.534, allocations: 9.567 MB / 1.037 GB, free: 428 kB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000108/1.534, allocations: 28 kB / 1.037 GB, free: 400 kB / 0.8107 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.02789/1.562, allocations: 9.828 MB / 1.047 GB, free: 6.508 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/1.562, allocations: 48 kB / 1.047 GB, free: 6.461 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01731/1.58, allocations: 6.377 MB / 1.053 GB, free: 28 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003715/1.58, allocations: 156 kB / 1.053 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009522/1.59, allocations: 2.5 MB / 1.056 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003726/1.59, allocations: 222.7 kB / 1.056 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008305/1.598, allocations: 0.8968 MB / 1.057 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002369/1.601, allocations: 0.6285 MB / 1.057 GB, free: 11.62 MB / 0.8419 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.004015/1.605, allocations: 0.7623 MB / 1.058 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004173/1.609, allocations: 0.8146 MB / 1.059 GB, free: 10.03 MB / 0.8419 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.4135/2.022, allocations: 11.8 MB / 1.07 GB, free: 357.7 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 6.150366010144353] Failed to read output from testmodel.py, exit status != 0: 2.192376911872998 2.202486929 1.073600201 Calling exit ...