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.01478/0.01478, allocations: 1.752 MB / 21.38 MB, free: 0.5625 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.001568/0.001568, allocations: 105.1 kB / 24.98 MB, free: 2.156 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.001617/0.001617, allocations: 204 kB / 28.71 MB, free: 3.441 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.447/1.447, allocations: 230.6 MB / 262.9 MB, free: 6.012 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.064/1.064, allocations: 130.7 MB / 450.5 MB, free: 6.855 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.03348/0.03348, allocations: 20.61 MB / 0.6363 GB, free: 5.332 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.2132, allocations: 81.9 MB / 0.7163 GB, free: 3.34 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.4818/0.695, allocations: 63.62 MB / 0.7785 GB, free: 7.52 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04001/0.735, allocations: 21.93 MB / 0.7999 GB, free: 7.793 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009398/0.7444, allocations: 196.8 kB / 0.8001 GB, free: 7.695 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009779/0.7542, allocations: 2.878 MB / 0.8029 GB, free: 5.707 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.02185/0.776, allocations: 4.592 MB / 0.8074 GB, free: 1.973 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01402/0.79, allocations: 4.879 MB / 0.8121 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02401/0.8141, allocations: 12.18 MB / 0.824 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00806/0.8221, allocations: 3.54 MB / 0.8275 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01186/0.834, allocations: 4.943 MB / 0.8323 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01089/0.8449, allocations: 5.079 MB / 0.8373 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003693/0.8486, allocations: 0.7643 MB / 0.838 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007825/0.8564, allocations: 2.231 MB / 0.8402 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004382/0.8608, allocations: 2.316 MB / 0.8424 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008978/0.8697, allocations: 4.262 MB / 0.8466 GB, free: 13.78 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.02209/0.8918, allocations: 11.88 MB / 0.8582 GB, free: 1.855 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.8918, allocations: 0 / 0.8582 GB, free: 1.855 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8918, allocations: 2.656 kB / 0.8582 GB, free: 1.855 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004405/0.8923, allocations: 0 / 0.8582 GB, free: 1.855 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.02033/0.9126, allocations: 8.519 MB / 0.8665 GB, free: 9.27 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.9127, allocations: 8.031 kB / 0.8665 GB, free: 9.262 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001658/0.9128, allocations: 140.2 kB / 0.8667 GB, free: 9.125 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001906/0.9147, allocations: 0.7871 MB / 0.8674 GB, free: 8.328 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004287/0.919, allocations: 1.114 MB / 0.8685 GB, free: 7.211 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01487/0.9339, allocations: 5.999 MB / 0.8744 GB, free: 1.16 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004705/0.9344, allocations: 353.4 kB / 0.8747 GB, free: 0.8125 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001719/0.9361, allocations: 455.9 kB / 0.8752 GB, free: 376 kB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03106/0.9671, allocations: 10.87 MB / 0.8858 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003078/0.9675, allocations: 71.31 kB / 0.8858 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001679/0.9691, allocations: 236 kB / 0.8861 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003128/0.9694, allocations: 168 kB / 0.8862 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02747/0.9969, allocations: 7.955 MB / 0.894 GB, free: 11.64 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06313/1.06, allocations: 51.85 MB / 0.9446 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02189/1.082, allocations: 6.173 MB / 0.9507 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005722/1.088, allocations: 1.893 MB / 0.9525 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001563/1.089, allocations: 353.9 kB / 0.9528 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001358/1.089, allocations: 114.9 kB / 0.9529 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=863): time 1.071e-05/1.089, allocations: 0 / 0.9529 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=863): time 0.04635/1.136, allocations: 12.01 MB / 0.9647 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000592/1.136, allocations: 0.9595 MB / 0.9656 GB, free: 44 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01448/1.151, allocations: 6.128 MB / 0.9716 GB, free: 9.945 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.001463/1.152, allocations: 89.64 kB / 0.9717 GB, free: 9.852 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.003733/1.156, allocations: 3.225 MB / 0.9748 GB, free: 6.602 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.004375/1.16, allocations: 2.943 MB / 0.9777 GB, free: 3.633 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007325/1.168, allocations: 1.938 MB / 0.9796 GB, free: 1.684 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.168, allocations: 307.8 kB / 0.9799 GB, free: 1.383 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008172/1.176, allocations: 2.887 MB / 0.9827 GB, free: 14.48 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01197/1.188, allocations: 5.996 MB / 0.9886 GB, free: 7.145 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01975/1.208, allocations: 9.693 MB / 0.998 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001193/1.208, allocations: 28 kB / 0.9981 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02966/1.238, allocations: 9.965 MB / 1.008 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001577/1.238, allocations: 51.94 kB / 1.008 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02051/1.258, allocations: 6.526 MB / 1.014 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004821/1.259, allocations: 154.1 kB / 1.014 GB, free: 11.31 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01154/1.27, allocations: 2.515 MB / 1.017 GB, free: 8.793 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005444/1.271, allocations: 227.2 kB / 1.017 GB, free: 8.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009835/1.281, allocations: 1.109 MB / 1.018 GB, free: 7.453 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002507/1.283, allocations: 0.6441 MB / 1.019 GB, free: 6.809 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01243/1.296, allocations: 4.034 MB / 1.023 GB, free: 2.766 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01204/1.308, allocations: 5.937 MB / 1.028 GB, free: 11.4 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02014/1.328, allocations: 9.562 MB / 1.038 GB, free: 420 kB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001148/1.328, allocations: 28 kB / 1.038 GB, free: 392 kB / 0.8107 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.02943/1.357, allocations: 9.822 MB / 1.047 GB, free: 6.512 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.000144/1.357, allocations: 57.95 kB / 1.047 GB, free: 6.457 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01907/1.376, allocations: 6.396 MB / 1.054 GB, free: 16 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003774/1.377, allocations: 156 kB / 1.054 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009691/1.387, allocations: 2.492 MB / 1.056 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003599/1.387, allocations: 219.2 kB / 1.057 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007892/1.395, allocations: 0.8929 MB / 1.057 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002471/1.397, allocations: 0.6323 MB / 1.058 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.004929/1.402, allocations: 0.7676 MB / 1.059 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005908/1.408, allocations: 0.8184 MB / 1.06 GB, free: 10.02 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.3676/1.776, allocations: 11.8 MB / 1.071 GB, free: 358.1 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.735328014008701] Failed to read output from testmodel.py, exit status != 0: 1.9490555259399116 1.95907566 1.064578364 Calling exit ...