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.01316/0.01316, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001458/0.001458, allocations: 102.7 kB / 24.18 MB, free: 2.184 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.001954/0.001954, allocations: 217.9 kB / 27.9 MB, free: 3.504 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.476/1.476, allocations: 230.6 MB / 262.1 MB, free: 5.859 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.092/1.092, allocations: 130.7 MB / 449.7 MB, free: 6.43 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.06559/0.06559, allocations: 20.98 MB / 0.6358 GB, free: 4.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.2404, allocations: 81.91 MB / 0.7158 GB, free: 2.727 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.5493/0.7897, allocations: 59.25 MB / 0.7737 GB, free: 11.28 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.04127/0.831, allocations: 21.17 MB / 0.7944 GB, free: 12.38 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01103/0.842, allocations: 199.1 kB / 0.7946 GB, free: 12.29 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.01034/0.8524, allocations: 2.828 MB / 0.7973 GB, free: 10.26 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01761/0.87, allocations: 4.608 MB / 0.8018 GB, free: 6.535 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01347/0.8835, allocations: 4.889 MB / 0.8066 GB, free: 2.914 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02082/0.9043, allocations: 12.16 MB / 0.8185 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006899/0.9112, allocations: 3.801 MB / 0.8222 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01011/0.9213, allocations: 4.955 MB / 0.827 GB, free: 372 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00931/0.9306, allocations: 4.735 MB / 0.8316 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.003011/0.9336, allocations: 0.7617 MB / 0.8324 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00661/0.9402, allocations: 1.83 MB / 0.8342 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003805/0.944, allocations: 2.32 MB / 0.8364 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007573/0.9516, allocations: 3.283 MB / 0.8396 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02041/0.972, allocations: 11.86 MB / 0.8512 GB, free: 7.484 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.972, allocations: 0 / 0.8512 GB, free: 7.484 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.756e-06/0.972, allocations: 0 / 0.8512 GB, free: 7.484 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004114/0.9724, allocations: 0 / 0.8512 GB, free: 7.484 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.01893/0.9914, allocations: 8.515 MB / 0.8595 GB, free: 14.91 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001143/0.9915, allocations: 14.69 kB / 0.8596 GB, free: 14.89 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001476/0.9929, allocations: 0.7793 MB / 0.8603 GB, free: 14.11 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003413/0.9964, allocations: 1.115 MB / 0.8614 GB, free: 12.98 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01343/1.01, allocations: 5.997 MB / 0.8673 GB, free: 6.938 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003731/1.01, allocations: 356.6 kB / 0.8676 GB, free: 6.59 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001024/1.011, allocations: 456 kB / 0.868 GB, free: 6.145 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02738/1.039, allocations: 12.08 MB / 0.8798 GB, free: 8.195 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001405/1.039, allocations: 75.31 kB / 0.8799 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005984/1.039, allocations: 240 kB / 0.8801 GB, free: 7.887 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001702/1.039, allocations: 164 kB / 0.8803 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02324/1.063, allocations: 7.917 MB / 0.888 GB, free: 15.8 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05149/1.114, allocations: 49.5 MB / 0.9364 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01922/1.133, allocations: 6.174 MB / 0.9424 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005191/1.139, allocations: 1.879 MB / 0.9442 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/1.14, allocations: 323.4 kB / 0.9445 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/1.14, allocations: 100.4 kB / 0.9446 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=863): time 8.646e-06/1.14, allocations: 0 / 0.9446 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=863): time 0.03886/1.179, allocations: 12.01 MB / 0.9564 GB, free: 7.793 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000592/1.18, allocations: 0.9646 MB / 0.9573 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01106/1.191, allocations: 6.28 MB / 0.9634 GB, free: 360 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.00159/1.192, allocations: 85.7 kB / 0.9635 GB, free: 268 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.004206/1.196, allocations: 3.221 MB / 0.9667 GB, free: 13.02 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.005236/1.202, allocations: 2.949 MB / 0.9695 GB, free: 10.04 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005685/1.207, allocations: 1.942 MB / 0.9714 GB, free: 8.09 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001709/1.208, allocations: 301.1 kB / 0.9717 GB, free: 7.793 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009804/1.217, allocations: 2.893 MB / 0.9745 GB, free: 4.891 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01689/1.234, allocations: 6.299 MB / 0.9807 GB, free: 13.09 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03147/1.266, allocations: 9.692 MB / 0.9902 GB, free: 2.113 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001675/1.266, allocations: 28 kB / 0.9902 GB, free: 2.086 MB / 0.7638 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.04001/1.306, allocations: 9.961 MB / 0.9999 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/1.306, allocations: 56.81 kB / 1 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01722/1.323, allocations: 6.532 MB / 1.006 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003237/1.324, allocations: 154.7 kB / 1.006 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009015/1.333, allocations: 2.511 MB / 1.009 GB, free: 14.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003231/1.333, allocations: 215.3 kB / 1.009 GB, free: 14.63 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007234/1.34, allocations: 1.12 MB / 1.01 GB, free: 13.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001912/1.342, allocations: 0.6441 MB / 1.011 GB, free: 12.87 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01052/1.353, allocations: 4.034 MB / 1.015 GB, free: 8.828 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01029/1.363, allocations: 6.237 MB / 1.021 GB, free: 1.094 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01767/1.381, allocations: 9.57 MB / 1.03 GB, free: 6.23 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000111/1.381, allocations: 28 kB / 1.03 GB, free: 6.203 MB / 0.8107 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.0251/1.406, allocations: 9.829 MB / 1.04 GB, free: 12.39 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/1.406, allocations: 44 kB / 1.04 GB, free: 12.35 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01558/1.421, allocations: 6.393 MB / 1.046 GB, free: 5.902 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003136/1.422, allocations: 162.7 kB / 1.046 GB, free: 5.746 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008775/1.431, allocations: 2.496 MB / 1.049 GB, free: 3.246 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003401/1.431, allocations: 215.2 kB / 1.049 GB, free: 3.035 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007453/1.438, allocations: 0.8917 MB / 1.05 GB, free: 2.148 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001953/1.44, allocations: 0.6308 MB / 1.05 GB, free: 1.52 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.003544/1.444, allocations: 0.7584 MB / 1.051 GB, free: 0.75 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003891/1.448, allocations: 0.8147 MB / 1.052 GB, free: 15.93 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.02533/1.473, allocations: 11.9 MB / 1.064 GB, free: 4.277 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.747876649256796] Failed to read output from testmodel.py, exit status != 0: 1.9573643649928272 1.96786092 0.993255883 Calling exit ...