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.00613/0.00613, allocations: 1.438 MB / 20.53 MB, free: 4 MB / 18.57 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.0007161/0.0007161, allocations: 91.45 kB / 24.16 MB, free: 384 kB / 18.57 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.0009386/0.0009386, allocations: 160.1 kB / 27.86 MB, free: 5.496 MB / 18.57 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 0.8696/0.8696, allocations: 177.1 MB / 208.6 MB, free: 2.98 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7118/0.7118, allocations: 102.5 MB / 367.9 MB, free: 1.504 MB / 330.8 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.5.2 (/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="me",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="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5362 GB, free: 40.07 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.863e-05, allocations: 6.703 kB / 0.5362 GB, free: 40.06 MB / 490.8 MB 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.Test_EN60534_compressible): time 0.1193/0.1193, allocations: 66.08 MB / 0.6007 GB, free: 10.45 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02177/0.1411, allocations: 18.43 MB / 0.6187 GB, free: 7.953 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002571/0.1437, allocations: 142.9 kB / 0.6189 GB, free: 7.812 MB / 0.5105 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.003154/0.1468, allocations: 2.237 MB / 0.621 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00427/0.1511, allocations: 3.46 MB / 0.6244 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005855/0.157, allocations: 3.923 MB / 0.6282 GB, free: 14.15 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.008302/0.1653, allocations: 8.873 MB / 0.6369 GB, free: 5.25 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003897/0.1692, allocations: 2.765 MB / 0.6396 GB, free: 2.418 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006158/0.1753, allocations: 4.801 MB / 0.6443 GB, free: 13.61 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003063/0.1784, allocations: 3.018 MB / 0.6472 GB, free: 10.58 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001012/0.1794, allocations: 0.5547 MB / 0.6478 GB, free: 10.02 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003325/0.1827, allocations: 1.899 MB / 0.6496 GB, free: 8.121 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001128/0.1838, allocations: 1.716 MB / 0.6513 GB, free: 6.398 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.001824/0.1857, allocations: 1.928 MB / 0.6532 GB, free: 4.465 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.006906/0.1926, allocations: 8.937 MB / 0.6619 GB, free: 11.5 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1926, allocations: 0 / 0.6619 GB, free: 11.5 MB / 0.5574 GB Notification: Performance of FrontEnd: time 3.106e-06/0.1926, allocations: 4 kB / 0.6619 GB, free: 11.5 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 9.327e-05/0.1927, allocations: 0 / 0.6619 GB, free: 11.5 MB / 0.5574 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.006495/0.1992, allocations: 6.46 MB / 0.6682 GB, free: 4.938 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1992, allocations: 12.03 kB / 0.6683 GB, free: 4.926 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000494/0.1997, allocations: 0.5594 MB / 0.6688 GB, free: 4.355 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.2009, allocations: 0.8125 MB / 0.6696 GB, free: 3.539 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005048/0.206, allocations: 4.653 MB / 0.6741 GB, free: 14.8 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.2061, allocations: 251 kB / 0.6744 GB, free: 14.56 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002958/0.2064, allocations: 320.4 kB / 0.6747 GB, free: 14.25 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009239/0.2156, allocations: 8.528 MB / 0.683 GB, free: 4.41 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.7e-05/0.2157, allocations: 59.44 kB / 0.6831 GB, free: 4.352 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002537/0.216, allocations: 164 kB / 0.6832 GB, free: 4.191 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-05/0.216, allocations: 120 kB / 0.6833 GB, free: 4.074 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008546/0.2246, allocations: 5.733 MB / 0.6889 GB, free: 14.31 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02114/0.2457, allocations: 34.34 MB / 0.7225 GB, free: 10.73 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007059/0.2528, allocations: 4.316 MB / 0.7267 GB, free: 6.203 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.2545, allocations: 1.528 MB / 0.7282 GB, free: 4.578 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005464/0.255, allocations: 269.9 kB / 0.7284 GB, free: 4.316 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005943/0.261, allocations: 4.065 MB / 0.7324 GB, free: 44 kB / 0.6199 GB Notification: Performance of pre-optimization done (n=619): time 6.893e-06/0.261, allocations: 0 / 0.7324 GB, free: 44 kB / 0.6199 GB Notification: Performance of matching and sorting (n=619): time 0.01493/0.2759, allocations: 9.014 MB / 0.7412 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003952/0.2763, allocations: 1.173 MB / 0.7424 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00536/0.2816, allocations: 4.744 MB / 0.747 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0003366/0.282, allocations: 73.7 kB / 0.7471 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001331/0.2833, allocations: 2.309 MB / 0.7493 GB, free: 14.39 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001408/0.2847, allocations: 2.056 MB / 0.7513 GB, free: 12.32 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001442/0.2862, allocations: 1.368 MB / 0.7527 GB, free: 10.94 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 8.363e-05/0.2863, allocations: 302 kB / 0.7529 GB, free: 10.64 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002743/0.289, allocations: 2.18 MB / 0.7551 GB, free: 8.426 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003707/0.2927, allocations: 4.559 MB / 0.7595 GB, free: 2.789 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2584/0.5511, allocations: 7.079 MB / 0.7664 GB, free: 175.8 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-05/0.5511, allocations: 19.94 kB / 0.7665 GB, free: 175.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.01011/0.5612, allocations: 7.521 MB / 0.7738 GB, free: 173.1 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 9.576e-05/0.5613, allocations: 166 kB / 0.774 GB, free: 172.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006306/0.5676, allocations: 5.199 MB / 0.779 GB, free: 170.9 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.5678, allocations: 107.3 kB / 0.7791 GB, free: 170.9 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003505/0.5713, allocations: 1.745 MB / 0.7808 GB, free: 170.7 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001529/0.5714, allocations: 149.7 kB / 0.781 GB, free: 170.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003866/0.5753, allocations: 0.8218 MB / 0.7818 GB, free: 170.6 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006789/0.576, allocations: 464.8 kB / 0.7822 GB, free: 170.5 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004828/0.5808, allocations: 3.05 MB / 0.7852 GB, free: 169 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003492/0.5843, allocations: 4.512 MB / 0.7896 GB, free: 165 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006733/0.591, allocations: 6.981 MB / 0.7964 GB, free: 159.8 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.061e-05/0.591, allocations: 20.91 kB / 0.7965 GB, free: 159.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.00949/0.6005, allocations: 7.424 MB / 0.8037 GB, free: 156.5 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 8.642e-05/0.6006, allocations: 165.2 kB / 0.8039 GB, free: 156.4 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005305/0.6059, allocations: 5.087 MB / 0.8088 GB, free: 153.9 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-05/0.606, allocations: 108.6 kB / 0.8089 GB, free: 153.9 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002667/0.6087, allocations: 1.734 MB / 0.8106 GB, free: 152.3 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.804e-05/0.6087, allocations: 155.4 kB / 0.8108 GB, free: 152.1 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002865/0.6116, allocations: 0.6642 MB / 0.8114 GB, free: 151.6 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003813/0.612, allocations: 458.4 kB / 0.8119 GB, free: 151.1 MB / 0.6512 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.001721/0.6137, allocations: 0.7385 MB / 0.8126 GB, free: 150.4 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007605/0.6144, allocations: 0.6091 MB / 0.8132 GB, free: 149.8 MB / 0.6512 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.005706/0.6201, allocations: 5.84 MB / 0.8189 GB, free: 144.4 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.502508472651243] Failed to read output from testmodel.py, exit status != 0: 0.7799324626103044 0.786605967 0.592586566 Calling exit ...