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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.01411/0.01411, allocations: 1.764 MB / 20.61 MB, free: 3.859 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.1336/0.1336, allocations: 25.61 MB / 49.71 MB, free: 2.93 MB / 33.03 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.0008588/0.0008588, allocations: 110.2 kB / 60.65 MB, free: 3.02 MB / 44.04 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.0011/0.0011, allocations: 219.3 kB / 71.73 MB, free: 6.48 MB / 44.04 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.9951/0.9951, allocations: 230.6 MB / 313.3 MB, free: 11.78 MB / 234.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.8158/0.8158, allocations: 130.7 MB / 0.4963 GB, free: 2.191 MB / 362.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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_compressible,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_Test_EN60534_compressible",fmuType="me_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="me_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: 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: 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: Performance of FrontEnd - loaded program: time 0.003828/0.003828, allocations: 157.4 kB / 0.6901 GB, free: 46.86 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1616, allocations: 89.26 MB / 0.7772 GB, free: 3.012 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_EN60534_compressible): time 0.01471/0.1763, allocations: 19.45 MB / 0.7962 GB, free: 15.48 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02391/0.2003, allocations: 18.67 MB / 0.8144 GB, free: 12.75 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004708/0.205, allocations: 134.9 kB / 0.8146 GB, free: 12.62 MB / 0.5887 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.005499/0.2105, allocations: 2.222 MB / 0.8167 GB, free: 10.38 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.008374/0.2188, allocations: 3.361 MB / 0.82 GB, free: 7.004 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008335/0.2272, allocations: 3.869 MB / 0.8238 GB, free: 3.145 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.0119/0.2391, allocations: 8.645 MB / 0.8322 GB, free: 10.48 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004459/0.2435, allocations: 2.746 MB / 0.8349 GB, free: 7.668 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006401/0.2499, allocations: 3.538 MB / 0.8384 GB, free: 4.117 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005595/0.2555, allocations: 3.48 MB / 0.8418 GB, free: 0.6211 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 0.00231/0.2578, allocations: 0.5547 MB / 0.8423 GB, free: 68 kB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005023/0.2629, allocations: 1.888 MB / 0.8442 GB, free: 14.18 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.002373/0.2652, allocations: 1.705 MB / 0.8458 GB, free: 12.46 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.004217/0.2694, allocations: 2.374 MB / 0.8482 GB, free: 10.08 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.282, allocations: 9.051 MB / 0.857 GB, free: 0.9922 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.282, allocations: 4 kB / 0.857 GB, free: 0.9883 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.465e-06/0.282, allocations: 0 / 0.857 GB, free: 0.9883 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.0003327/0.2824, allocations: 0 / 0.857 GB, free: 0.9883 MB / 0.6199 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.01115/0.2935, allocations: 6.534 MB / 0.8634 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.2936, allocations: 8.031 kB / 0.8634 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006645/0.2942, allocations: 0.5594 MB / 0.8639 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/0.296, allocations: 0.8086 MB / 0.8647 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.307, allocations: 4.644 MB / 0.8693 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002995/0.3073, allocations: 258.9 kB / 0.8695 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009714/0.3083, allocations: 319.9 kB / 0.8698 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/0.324, allocations: 8.528 MB / 0.8781 GB, free: 9.836 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000231/0.3242, allocations: 47.56 kB / 0.8782 GB, free: 9.789 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000395/0.3246, allocations: 164 kB / 0.8783 GB, free: 9.629 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-05/0.3247, allocations: 116 kB / 0.8784 GB, free: 9.516 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/0.335, allocations: 5.733 MB / 0.884 GB, free: 3.75 MB / 0.6512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3758/0.7108, allocations: 34.46 MB / 0.9177 GB, free: 88.23 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008933/0.7197, allocations: 4.308 MB / 0.9219 GB, free: 86.96 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003036/0.7227, allocations: 1.53 MB / 0.9234 GB, free: 86.11 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007691/0.7235, allocations: 273.3 kB / 0.9237 GB, free: 86.08 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008635/0.7321, allocations: 4.061 MB / 0.9276 GB, free: 84.45 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=619): time 1.531e-05/0.7321, allocations: 0 / 0.9276 GB, free: 84.45 MB / 0.6668 GB Notification: Performance of matching and sorting (n=619): time 0.02031/0.7525, allocations: 9.018 MB / 0.9364 GB, free: 81.73 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002249/0.7527, allocations: 1.17 MB / 0.9376 GB, free: 80.34 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005968/0.7587, allocations: 4.747 MB / 0.9422 GB, free: 78.48 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.001078/0.7597, allocations: 77.14 kB / 0.9423 GB, free: 78.42 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.7609, allocations: 2.323 MB / 0.9446 GB, free: 76.52 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.002075/0.763, allocations: 2.084 MB / 0.9466 GB, free: 74.7 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00165/0.7646, allocations: 1.386 MB / 0.9479 GB, free: 73.91 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 3.569e-05/0.7647, allocations: 309.1 kB / 0.9482 GB, free: 73.61 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002621/0.7673, allocations: 2.177 MB / 0.9504 GB, free: 72.37 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003239/0.7705, allocations: 4.561 MB / 0.9548 GB, free: 68.02 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006575/0.7771, allocations: 7.076 MB / 0.9617 GB, free: 60.91 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.732e-05/0.7771, allocations: 24 kB / 0.9618 GB, free: 60.89 MB / 0.6668 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.01139/0.7885, allocations: 7.527 MB / 0.9691 GB, free: 53.32 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 9.213e-05/0.7886, allocations: 162.8 kB / 0.9693 GB, free: 53.13 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006627/0.7952, allocations: 5.19 MB / 0.9743 GB, free: 47.89 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/0.7954, allocations: 108 kB / 0.9744 GB, free: 47.79 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003382/0.7988, allocations: 1.747 MB / 0.9761 GB, free: 46.04 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001315/0.7989, allocations: 155.4 kB / 0.9763 GB, free: 45.88 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003948/0.8029, allocations: 0.8212 MB / 0.9771 GB, free: 45.06 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008738/0.8037, allocations: 463.7 kB / 0.9775 GB, free: 44.61 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0049/0.8086, allocations: 3.052 MB / 0.9805 GB, free: 41.52 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00338/0.812, allocations: 4.516 MB / 0.9849 GB, free: 35.93 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006401/0.8184, allocations: 6.992 MB / 0.9917 GB, free: 27.91 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.621e-05/0.8184, allocations: 20 kB / 0.9918 GB, free: 27.89 MB / 0.6668 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.01103/0.8295, allocations: 7.399 MB / 0.999 GB, free: 20.43 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-05/0.8296, allocations: 171.4 kB / 0.9992 GB, free: 20.23 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006461/0.836, allocations: 5.078 MB / 1.004 GB, free: 15.11 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001164/0.8361, allocations: 111 kB / 1.004 GB, free: 15 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003291/0.8394, allocations: 1.735 MB / 1.006 GB, free: 13.26 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.831e-05/0.8395, allocations: 158.5 kB / 1.006 GB, free: 13.11 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003715/0.8432, allocations: 0.664 MB / 1.007 GB, free: 12.44 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007575/0.844, allocations: 451.7 kB / 1.007 GB, free: 12 MB / 0.6668 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.001642/0.8456, allocations: 0.7509 MB / 1.008 GB, free: 11.22 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001612/0.8473, allocations: 0.613 MB / 1.008 GB, free: 10.61 MB / 0.6668 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 1.9.0-ClaRa/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.006512/0.8538, allocations: 5.853 MB / 1.014 GB, free: 4.805 MB / 0.6668 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.063683684915304]