Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_compressible.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.01021/0.01021, allocations: 1.771 MB / 18.82 MB, free: 4.355 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.001148/0.001148, allocations: 99.72 kB / 22.07 MB, free: 1.109 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: 217.8 kB / 25.46 MB, free: 3.344 MB / 14.72 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.48/1.48, allocations: 230.6 MB / 259.2 MB, free: 13.12 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.107/1.107, allocations: 130.6 MB / 446.3 MB, free: 14.58 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.Test_EN60534_compressible,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_Test_EN60534_compressible",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_compressible,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_Test_EN60534_compressible",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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. 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.4058/0.4058, allocations: 46.15 MB / 0.6552 GB, free: 30.12 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.6066, allocations: 89.05 MB / 0.7421 GB, free: 2.699 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_compressible): time 0.02485/0.6315, allocations: 22.51 MB / 0.7641 GB, free: 12.1 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.0342/0.6657, allocations: 19.28 MB / 0.7829 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00627/0.672, allocations: 134.9 kB / 0.7831 GB, free: 8.625 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.006892/0.6789, allocations: 2.268 MB / 0.7853 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01058/0.6894, allocations: 3.299 MB / 0.7885 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01056/0.7, allocations: 3.806 MB / 0.7922 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01524/0.7152, allocations: 8.658 MB / 0.8007 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005094/0.7203, allocations: 2.629 MB / 0.8032 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007085/0.7274, allocations: 3.526 MB / 0.8067 GB, free: 324 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006851/0.7343, allocations: 3.709 MB / 0.8103 GB, free: 12.59 MB / 0.6232 GB Notification: Performance of NFPackage.collectConstants: time 0.002144/0.7364, allocations: 0.5547 MB / 0.8109 GB, free: 12.04 MB / 0.6232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005851/0.7423, allocations: 2.251 MB / 0.8131 GB, free: 9.785 MB / 0.6232 GB Notification: Performance of NFScalarize.scalarize: time 0.002579/0.7448, allocations: 1.701 MB / 0.8147 GB, free: 8.078 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.005305/0.7501, allocations: 3.085 MB / 0.8177 GB, free: 4.977 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.01452/0.7647, allocations: 9.071 MB / 0.8266 GB, free: 11.87 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.7647, allocations: 0 / 0.8266 GB, free: 11.87 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.993e-06/0.7647, allocations: 0 / 0.8266 GB, free: 11.87 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0001974/0.7649, allocations: 4 kB / 0.8266 GB, free: 11.87 MB / 0.6388 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1193 * Number of variables: 1193 Notification: Performance of Generate backend data structure: time 0.01255/0.7774, allocations: 6.606 MB / 0.833 GB, free: 5.145 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.7775, allocations: 8.031 kB / 0.833 GB, free: 5.137 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001139/0.7776, allocations: 102.8 kB / 0.8331 GB, free: 5.035 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007953/0.7784, allocations: 0.5555 MB / 0.8337 GB, free: 4.469 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002317/0.7807, allocations: 0.8125 MB / 0.8345 GB, free: 3.648 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008824/0.7895, allocations: 4.865 MB / 0.8392 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002428/0.7898, allocations: 258.3 kB / 0.8395 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000506/0.7903, allocations: 320 kB / 0.8398 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01715/0.8074, allocations: 7.6 MB / 0.8472 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-05/0.8075, allocations: 47.56 kB / 0.8473 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003925/0.8079, allocations: 164 kB / 0.8474 GB, free: 5.246 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.808, allocations: 112 kB / 0.8475 GB, free: 5.137 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01561/0.8236, allocations: 5.652 MB / 0.853 GB, free: 15.48 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4035/1.227, allocations: 36.18 MB / 0.8884 GB, free: 86.12 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/1.239, allocations: 4.197 MB / 0.8925 GB, free: 85.61 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002932/1.242, allocations: 1.407 MB / 0.8938 GB, free: 85.16 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/1.243, allocations: 378 kB / 0.8942 GB, free: 85.04 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01135/1.254, allocations: 3.93 MB / 0.898 GB, free: 83.54 MB / 0.67 GB Notification: Performance of pre-optimization done (n=619): time 1.125e-05/1.254, allocations: 0.75 kB / 0.898 GB, free: 83.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=619): time 0.02637/1.28, allocations: 8.748 MB / 0.9066 GB, free: 81.11 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000277/1.281, allocations: 1.181 MB / 0.9077 GB, free: 79.72 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008155/1.289, allocations: 4.632 MB / 0.9123 GB, free: 78.14 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.001114/1.29, allocations: 71.89 kB / 0.9123 GB, free: 78.08 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001687/1.292, allocations: 2.319 MB / 0.9146 GB, free: 76.25 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002658/1.294, allocations: 2.088 MB / 0.9166 GB, free: 74.44 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002571/1.297, allocations: 1.392 MB / 0.918 GB, free: 73.64 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.2e-05/1.297, allocations: 310.2 kB / 0.9183 GB, free: 73.34 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004014/1.301, allocations: 2.052 MB / 0.9203 GB, free: 72.24 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005568/1.307, allocations: 4.232 MB / 0.9244 GB, free: 68.29 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01001/1.317, allocations: 7.066 MB / 0.9313 GB, free: 63.01 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.092e-05/1.317, allocations: 21.75 kB / 0.9313 GB, free: 63.01 MB / 0.67 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.01621/1.333, allocations: 7.357 MB / 0.9385 GB, free: 59.69 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001686/1.333, allocations: 162 kB / 0.9387 GB, free: 59.55 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009549/1.343, allocations: 5.03 MB / 0.9436 GB, free: 57.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000252/1.343, allocations: 110.3 kB / 0.9437 GB, free: 57.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00597/1.349, allocations: 1.745 MB / 0.9454 GB, free: 56.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001955/1.349, allocations: 158.4 kB / 0.9456 GB, free: 56.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005881/1.355, allocations: 0.8217 MB / 0.9464 GB, free: 56.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001356/1.356, allocations: 464.6 kB / 0.9468 GB, free: 56.13 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00707/1.363, allocations: 2.923 MB / 0.9497 GB, free: 54.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005583/1.369, allocations: 4.187 MB / 0.9537 GB, free: 50.57 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009315/1.378, allocations: 6.965 MB / 0.9606 GB, free: 43.34 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.494e-05/1.378, allocations: 27.91 kB / 0.9606 GB, free: 43.32 MB / 0.67 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.01526/1.393, allocations: 7.253 MB / 0.9677 GB, free: 36.15 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.000146/1.394, allocations: 168.3 kB / 0.9678 GB, free: 35.96 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009148/1.403, allocations: 4.922 MB / 0.9726 GB, free: 31.02 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002217/1.403, allocations: 108 kB / 0.9727 GB, free: 30.92 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005834/1.409, allocations: 1.735 MB / 0.9744 GB, free: 29.18 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001894/1.409, allocations: 151.5 kB / 0.9746 GB, free: 29.03 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005335/1.414, allocations: 0.6666 MB / 0.9752 GB, free: 28.37 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/1.415, allocations: 456.8 kB / 0.9757 GB, free: 27.93 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 317 * Number of states: 0 () * Number of discrete variables: 32 (timeTable3.nextEventScaled,timeTable3.nextEvent,$PRE.timeTable3.nextEvent,timeTable3.last,timeTable3.b,timeTable3.a,$whenCondition4,valveEN_60534_compressible_phaseChange.pressureLoss.normIsValid,timeTable2.nextEventScaled,timeTable2.nextEvent,$PRE.timeTable2.nextEvent,timeTable2.last,timeTable2.b,timeTable2.a,$whenCondition3,valveEN_60534_compressibleBackwards.pressureLoss.normIsValid,timeTable1.nextEventScaled,timeTable1.nextEvent,$PRE.timeTable1.nextEvent,timeTable1.last,timeTable1.b,timeTable1.a,$whenCondition2,valveEN_60534_compressible_checkValve.pressureLoss.normIsValid,timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1,valveEN_60534_compressible.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (907): * Single equations (assignments): 903 * Array equations: 0 * Algorithm blocks: 4 * 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.002276/1.418, allocations: 0.7318 MB / 0.9764 GB, free: 27.16 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002206/1.42, allocations: 0.6091 MB / 0.977 GB, free: 26.55 MB / 0.67 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 163 equation(s) and 159 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (valveEN_60534_compressible_phaseChange.fluidIn.q, valveEN_60534_compressible_phaseChange.fluidIn.cp, valveEN_60534_compressible_phaseChange.fluidIn.cv, valveEN_60534_compressible_phaseChange.fluidIn.beta, valveEN_60534_compressible_phaseChange.fluidIn.kappa, valveEN_60534_compressible_phaseChange.fluidIn.drhodp_hxi, valveEN_60534_compressible_phaseChange.fluidIn.drhodh_pxi, _, valveEN_60534_compressible_phaseChange.fluidIn.w, valveEN_60534_compressible_phaseChange.fluidIn.gamma) = ($cse66, $cse67, $cse68, $cse69, $cse70, $cse71, $cse72, $cse73, $cse74, $cse75) has size 9 but 2 variables (pressureSink_XRG5.fluidOut.h, pressureSink_XRG5.eye.h) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/1.431, allocations: 5.791 MB / 0.9826 GB, free: 21.18 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.076278507011011] Failed to read output from testmodel.py, exit status != 0: 1.43841538898414 1.448057101 0.680952982 Calling exit ...