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.01758/0.01758, allocations: 1.745 MB / 21.38 MB, free: 464 kB / 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.001813/0.001813, allocations: 103.1 kB / 24.97 MB, free: 2.035 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.002571/0.002571, allocations: 209.6 kB / 28.68 MB, free: 3.324 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.497/1.497, allocations: 230.6 MB / 262.9 MB, free: 5.809 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.086/1.086, allocations: 130.7 MB / 450.4 MB, free: 6.609 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestValves",fmuType="cs",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.06443/0.06443, allocations: 20.6 MB / 0.6362 GB, free: 5.117 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.2263, allocations: 81.91 MB / 0.7162 GB, free: 3.113 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.6278/0.8541, allocations: 59.2 MB / 0.774 GB, free: 11.76 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04068/0.8948, allocations: 21.16 MB / 0.7947 GB, free: 12.86 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01343/0.9082, allocations: 202.4 kB / 0.7949 GB, free: 12.77 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01083/0.9191, allocations: 2.831 MB / 0.7977 GB, free: 10.78 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02053/0.9396, allocations: 4.612 MB / 0.8022 GB, free: 7.051 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01598/0.9556, allocations: 4.892 MB / 0.8069 GB, free: 3.422 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02398/0.9796, allocations: 12.17 MB / 0.8188 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009119/0.9887, allocations: 3.531 MB / 0.8223 GB, free: 6.246 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01367/1.002, allocations: 4.962 MB / 0.8271 GB, free: 1.266 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01194/1.014, allocations: 5.063 MB / 0.8321 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004247/1.019, allocations: 0.7617 MB / 0.8328 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009168/1.028, allocations: 1.861 MB / 0.8346 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005422/1.033, allocations: 2.32 MB / 0.8369 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009616/1.043, allocations: 3.286 MB / 0.8401 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02544/1.068, allocations: 11.85 MB / 0.8517 GB, free: 8.031 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.068, allocations: 0 / 0.8517 GB, free: 8.031 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.723e-06/1.068, allocations: 3.938 kB / 0.8517 GB, free: 8.027 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0005533/1.069, allocations: 0 / 0.8517 GB, free: 8.027 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.02798/1.097, allocations: 8.512 MB / 0.86 GB, free: 15.45 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/1.097, allocations: 8.031 kB / 0.86 GB, free: 15.45 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002156/1.097, allocations: 141.5 kB / 0.8601 GB, free: 15.3 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001777/1.099, allocations: 0.7871 MB / 0.8609 GB, free: 14.51 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003909/1.103, allocations: 1.118 MB / 0.862 GB, free: 13.39 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01499/1.118, allocations: 6 MB / 0.8679 GB, free: 7.34 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005172/1.118, allocations: 353.4 kB / 0.8682 GB, free: 6.992 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001543/1.12, allocations: 452 kB / 0.8686 GB, free: 6.551 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03001/1.15, allocations: 12.08 MB / 0.8804 GB, free: 8.594 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001723/1.15, allocations: 71.31 kB / 0.8805 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006298/1.151, allocations: 241.9 kB / 0.8807 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000178/1.151, allocations: 164 kB / 0.8809 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02499/1.176, allocations: 7.954 MB / 0.8886 GB, free: 180 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06045/1.236, allocations: 49.5 MB / 0.937 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0216/1.258, allocations: 6.166 MB / 0.943 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004682/1.262, allocations: 1.887 MB / 0.9449 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001293/1.264, allocations: 319.5 kB / 0.9452 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000112/1.264, allocations: 97.69 kB / 0.9452 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=863): time 1.02e-05/1.264, allocations: 0 / 0.9452 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=863): time 0.044/1.308, allocations: 12.01 MB / 0.957 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006643/1.309, allocations: 0.9672 MB / 0.9579 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01401/1.323, allocations: 6.122 MB / 0.9639 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001541/1.324, allocations: 85.7 kB / 0.964 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003567/1.328, allocations: 3.229 MB / 0.9671 GB, free: 13.54 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.004696/1.332, allocations: 2.944 MB / 0.97 GB, free: 10.57 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004079/1.336, allocations: 1.942 MB / 0.9719 GB, free: 8.613 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001704/1.337, allocations: 301.1 kB / 0.9722 GB, free: 8.316 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006664/1.343, allocations: 2.889 MB / 0.975 GB, free: 5.418 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0113/1.355, allocations: 6.3 MB / 0.9812 GB, free: 13.62 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01947/1.374, allocations: 9.69 MB / 0.9906 GB, free: 2.641 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001284/1.374, allocations: 30.62 kB / 0.9907 GB, free: 2.613 MB / 0.7638 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02969/1.404, allocations: 9.961 MB / 1 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/1.404, allocations: 48 kB / 1 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01917/1.423, allocations: 6.531 MB / 1.007 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003878/1.424, allocations: 156 kB / 1.007 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009997/1.434, allocations: 2.518 MB / 1.009 GB, free: 15.37 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003718/1.434, allocations: 216.2 kB / 1.01 GB, free: 15.16 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008451/1.442, allocations: 1.117 MB / 1.011 GB, free: 14.04 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002414/1.445, allocations: 0.6506 MB / 1.011 GB, free: 13.39 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01265/1.457, allocations: 4.034 MB / 1.015 GB, free: 9.348 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01145/1.469, allocations: 6.234 MB / 1.021 GB, free: 1.613 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01919/1.488, allocations: 9.567 MB / 1.031 GB, free: 6.754 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001264/1.488, allocations: 28 kB / 1.031 GB, free: 6.727 MB / 0.8107 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.02885/1.517, allocations: 9.82 MB / 1.04 GB, free: 12.92 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/1.517, allocations: 48 kB / 1.04 GB, free: 12.88 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01758/1.535, allocations: 6.392 MB / 1.047 GB, free: 6.434 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003601/1.535, allocations: 156 kB / 1.047 GB, free: 6.281 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009441/1.545, allocations: 2.497 MB / 1.049 GB, free: 3.781 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003797/1.545, allocations: 220.8 kB / 1.049 GB, free: 3.57 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007999/1.553, allocations: 0.8967 MB / 1.05 GB, free: 2.676 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002199/1.555, allocations: 0.6324 MB / 1.051 GB, free: 2.043 MB / 0.8263 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.003806/1.559, allocations: 0.7663 MB / 1.052 GB, free: 1.27 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004052/1.563, allocations: 0.803 MB / 1.052 GB, free: 472 kB / 0.8263 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.02692/1.59, allocations: 11.81 MB / 1.064 GB, free: 4.879 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.993382252985612] Failed to read output from testmodel.py, exit status != 0: 2.0756861709523946 2.086126705 1.015249771 Calling exit ...