Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValve.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.01045/0.01045, allocations: 1.758 MB / 20.59 MB, free: 1.277 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.001198/0.001198, allocations: 110.6 kB / 24.19 MB, free: 2.648 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.001482/0.001482, allocations: 211.8 kB / 27.92 MB, free: 4 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.54/1.54, allocations: 230.6 MB / 262.1 MB, free: 6.223 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.212/1.212, allocations: 130.7 MB / 449.7 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.TestThreeWayValve,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValve,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestThreeWayValve",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.04127/0.04127, allocations: 20.79 MB / 0.6357 GB, free: 5.188 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2521, allocations: 81.9 MB / 0.7157 GB, free: 3.188 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.TestThreeWayValve): time 0.5339/0.7859, allocations: 43.71 MB / 0.7584 GB, free: 21.96 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01781/0.8038, allocations: 13.47 MB / 0.7716 GB, free: 12.31 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002275/0.806, allocations: 51.72 kB / 0.7716 GB, free: 12.29 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.003704/0.8097, allocations: 1.152 MB / 0.7727 GB, free: 11.74 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.003724/0.8135, allocations: 1.082 MB / 0.7738 GB, free: 11.07 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004775/0.8182, allocations: 1.723 MB / 0.7755 GB, free: 10.19 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.005044/0.8233, allocations: 2.857 MB / 0.7783 GB, free: 8.816 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.8249, allocations: 0.7814 MB / 0.779 GB, free: 8.445 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.8269, allocations: 1.19 MB / 0.7802 GB, free: 7.902 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002045/0.8289, allocations: 1.312 MB / 0.7815 GB, free: 7.301 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0003427/0.8293, allocations: 197.8 kB / 0.7817 GB, free: 7.301 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00344/0.8327, allocations: 1.325 MB / 0.783 GB, free: 6.91 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0006615/0.8334, allocations: 0.6654 MB / 0.7836 GB, free: 6.551 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.8346, allocations: 1.152 MB / 0.7847 GB, free: 5.762 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.005459/0.84, allocations: 3.798 MB / 0.7884 GB, free: 3.531 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.84, allocations: 0 / 0.7884 GB, free: 3.531 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.034e-06/0.84, allocations: 0 / 0.7884 GB, free: 3.531 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 3.611e-05/0.8401, allocations: 1.312 kB / 0.7884 GB, free: 3.531 MB / 0.5607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.004216/0.8443, allocations: 2.856 MB / 0.7912 GB, free: 1.461 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.8443, allocations: 9.531 kB / 0.7912 GB, free: 1.461 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001947/0.8445, allocations: 213.8 kB / 0.7914 GB, free: 1.289 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008986/0.8454, allocations: 336.7 kB / 0.7918 GB, free: 1.105 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00465/0.8501, allocations: 2.537 MB / 0.7942 GB, free: 15.38 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.046e-05/0.8501, allocations: 83.23 kB / 0.7943 GB, free: 15.34 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.8503, allocations: 107.5 kB / 0.7944 GB, free: 15.3 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005374/0.8557, allocations: 2.51 MB / 0.7969 GB, free: 13.28 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/0.8557, allocations: 22.72 kB / 0.7969 GB, free: 13.27 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/0.8558, allocations: 56.62 kB / 0.797 GB, free: 13.23 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.95e-05/0.8559, allocations: 38.97 kB / 0.797 GB, free: 13.23 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004432/0.8603, allocations: 1.689 MB / 0.7986 GB, free: 12.41 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/0.8726, allocations: 12.62 MB / 0.811 GB, free: 372 kB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003996/0.8766, allocations: 1.313 MB / 0.8123 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007861/0.8774, allocations: 412.6 kB / 0.8126 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/0.8776, allocations: 75.22 kB / 0.8127 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/0.8777, allocations: 55.14 kB / 0.8128 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=202): time 3.586e-06/0.8777, allocations: 2.625 kB / 0.8128 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=202): time 0.009414/0.8871, allocations: 2.841 MB / 0.8155 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000211/0.8873, allocations: 325.1 kB / 0.8159 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00361/0.8909, allocations: 2.029 MB / 0.8178 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001675/0.8911, allocations: 45.64 kB / 0.8179 GB, free: 9.434 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008657/0.8919, allocations: 0.9218 MB / 0.8188 GB, free: 8.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007516/0.8927, allocations: 0.6952 MB / 0.8195 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007489/0.8934, allocations: 492 kB / 0.8199 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.8936, allocations: 307.8 kB / 0.8202 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.8949, allocations: 0.6213 MB / 0.8208 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002089/0.897, allocations: 1.447 MB / 0.8222 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003632/0.9006, allocations: 2.289 MB / 0.8245 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.9006, allocations: 4 kB / 0.8245 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.004904/0.9055, allocations: 2.391 MB / 0.8268 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.9055, allocations: 23.56 kB / 0.8268 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002813/0.9084, allocations: 1.42 MB / 0.8282 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008071/0.9092, allocations: 164.6 kB / 0.8284 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/0.9109, allocations: 0.5856 MB / 0.829 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008817/0.9117, allocations: 0.7256 MB / 0.8297 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.9134, allocations: 262 kB / 0.8299 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002433/0.9137, allocations: 158.6 kB / 0.8301 GB, free: 12.27 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 122 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (308): * Single equations (assignments): 307 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001189/0.9148, allocations: 0.5905 MB / 0.8306 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006398/0.9155, allocations: 250.2 kB / 0.8309 GB, free: 11.42 MB / 0.6075 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 253 equation(s) and 243 variable(s). Error: ($cse112, $cse113, $cse114, $cse115, $cse116, $cse117, $cse118, $cse119, $cse120, $cse121) = TILMedia.Internals.VLEFluid.AdditionalObjectFunctions.ObjectFunctions.additionalProperties_phxi(pressureSink_ph.p_const, threeWayValve_VLE_L1_1.summary.outlet1.h, {}, threeWayValve_VLE_L1_1.fluidOut1.vleFluidPointer) has size 10 but 2 variables (pressureSink_ph.fluidOut.s, pressureSink_ph.eye.s) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004531/0.92, allocations: 2.351 MB / 0.8332 GB, free: 9.219 MB / 0.6075 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.1353513489011675] Failed to read output from testmodel.py, exit status != 0: 1.126879716059193 1.145710905 0.301927698 Calling exit ...