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.006015/0.006015, allocations: 1.442 MB / 20.53 MB, free: 4.012 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.0006427/0.0006427, allocations: 87.47 kB / 24.16 MB, free: 396 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.0007395/0.0007395, allocations: 169 kB / 27.86 MB, free: 5.492 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.8476/0.8476, allocations: 177.2 MB / 208.6 MB, free: 2.973 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.7293/0.7293, allocations: 102.5 MB / 367.9 MB, free: 1.48 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 2.124e-06/2.124e-06, allocations: 0 / 0.5362 GB, free: 40.11 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.897e-05, allocations: 5.516 kB / 0.5362 GB, free: 40.11 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.1185/0.1185, allocations: 66.08 MB / 0.6007 GB, free: 10.43 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01951/0.138, allocations: 18.44 MB / 0.6187 GB, free: 7.93 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001644/0.1396, allocations: 134.9 kB / 0.6189 GB, free: 7.797 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.002929/0.1426, allocations: 2.24 MB / 0.621 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003828/0.1464, allocations: 3.456 MB / 0.6244 GB, free: 2.066 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.005468/0.1519, allocations: 3.921 MB / 0.6282 GB, free: 14.14 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.007288/0.1591, allocations: 8.885 MB / 0.6369 GB, free: 5.223 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002888/0.162, allocations: 2.761 MB / 0.6396 GB, free: 2.395 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004304/0.1663, allocations: 4.801 MB / 0.6443 GB, free: 13.58 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.1688, allocations: 3.015 MB / 0.6473 GB, free: 10.56 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.0005003/0.1693, allocations: 0.5547 MB / 0.6478 GB, free: 10 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002773/0.1721, allocations: 1.899 MB / 0.6497 GB, free: 8.102 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.000909/0.173, allocations: 1.732 MB / 0.6513 GB, free: 6.363 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.1744, allocations: 1.905 MB / 0.6532 GB, free: 4.453 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.006044/0.1804, allocations: 8.953 MB / 0.6619 GB, free: 11.47 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1804, allocations: 3.938 kB / 0.6619 GB, free: 11.47 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1804, allocations: 0 / 0.6619 GB, free: 11.47 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 5.488e-05/0.1805, allocations: 0 / 0.6619 GB, free: 11.47 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.005944/0.1864, allocations: 6.452 MB / 0.6683 GB, free: 4.918 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.1864, allocations: 8.031 kB / 0.6683 GB, free: 4.91 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004633/0.1869, allocations: 0.5594 MB / 0.6688 GB, free: 4.34 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.188, allocations: 0.8203 MB / 0.6696 GB, free: 3.516 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004913/0.193, allocations: 4.645 MB / 0.6741 GB, free: 14.79 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.1931, allocations: 255 kB / 0.6744 GB, free: 14.54 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002965/0.1934, allocations: 316.4 kB / 0.6747 GB, free: 14.23 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008956/0.2023, allocations: 8.536 MB / 0.683 GB, free: 4.383 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.539e-05/0.2024, allocations: 47.56 kB / 0.6831 GB, free: 4.336 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/0.2027, allocations: 172 kB / 0.6832 GB, free: 4.168 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-05/0.2027, allocations: 112 kB / 0.6833 GB, free: 4.059 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007983/0.2107, allocations: 5.733 MB / 0.6889 GB, free: 14.29 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.018/0.2287, allocations: 34.35 MB / 0.7225 GB, free: 10.71 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006614/0.2353, allocations: 4.306 MB / 0.7267 GB, free: 6.191 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/0.2369, allocations: 1.536 MB / 0.7282 GB, free: 4.559 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005402/0.2375, allocations: 269.9 kB / 0.7284 GB, free: 4.297 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005732/0.2432, allocations: 4.053 MB / 0.7324 GB, free: 36 kB / 0.6199 GB Notification: Performance of pre-optimization done (n=619): time 5.631e-06/0.2432, allocations: 0 / 0.7324 GB, free: 36 kB / 0.6199 GB Notification: Performance of matching and sorting (n=619): time 0.01407/0.2573, allocations: 9.014 MB / 0.7412 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000354/0.2576, allocations: 1.173 MB / 0.7423 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004666/0.2623, allocations: 4.746 MB / 0.747 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002109/0.2625, allocations: 74.55 kB / 0.7471 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001266/0.2638, allocations: 2.305 MB / 0.7493 GB, free: 14.39 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001183/0.2649, allocations: 2.064 MB / 0.7513 GB, free: 12.31 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001334/0.2663, allocations: 1.368 MB / 0.7527 GB, free: 10.93 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 6.558e-05/0.2663, allocations: 305.1 kB / 0.7529 GB, free: 10.63 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002608/0.2689, allocations: 2.176 MB / 0.7551 GB, free: 8.414 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003648/0.2726, allocations: 4.57 MB / 0.7595 GB, free: 2.766 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.242/0.5146, allocations: 7.074 MB / 0.7664 GB, free: 175.5 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.63e-05/0.5146, allocations: 20.5 kB / 0.7665 GB, free: 175.5 MB / 0.6512 GB Notification: Performance of matching and sorting (n=927) (initialization): time 0.009427/0.5241, allocations: 7.518 MB / 0.7738 GB, free: 172.8 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 8.607e-05/0.5241, allocations: 165.7 kB / 0.774 GB, free: 172.7 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006151/0.5303, allocations: 5.195 MB / 0.779 GB, free: 170.6 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001115/0.5304, allocations: 107.4 kB / 0.7791 GB, free: 170.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003197/0.5336, allocations: 1.747 MB / 0.7808 GB, free: 170.4 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001125/0.5337, allocations: 152.5 kB / 0.781 GB, free: 170.4 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002949/0.5367, allocations: 0.8209 MB / 0.7818 GB, free: 170.3 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005088/0.5372, allocations: 466.2 kB / 0.7822 GB, free: 170.2 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004113/0.5413, allocations: 3.047 MB / 0.7852 GB, free: 168.8 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003346/0.5446, allocations: 4.516 MB / 0.7896 GB, free: 164.7 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006235/0.5509, allocations: 6.981 MB / 0.7964 GB, free: 159.5 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.229e-05/0.5509, allocations: 24.75 kB / 0.7965 GB, free: 159.5 MB / 0.6512 GB Notification: Performance of matching and sorting (n=927) (initialization_lambda0): time 0.00857/0.5595, allocations: 7.414 MB / 0.8037 GB, free: 156.2 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 8.132e-05/0.5596, allocations: 170.4 kB / 0.8039 GB, free: 156.1 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00521/0.5648, allocations: 5.082 MB / 0.8088 GB, free: 153.6 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.426e-05/0.5648, allocations: 106.2 kB / 0.8089 GB, free: 153.6 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002759/0.5676, allocations: 1.74 MB / 0.8106 GB, free: 152.2 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.008e-05/0.5677, allocations: 151.5 kB / 0.8108 GB, free: 152 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/0.5701, allocations: 0.6637 MB / 0.8114 GB, free: 151.5 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003871/0.5705, allocations: 455.7 kB / 0.8119 GB, free: 151 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.001675/0.5722, allocations: 0.7401 MB / 0.8126 GB, free: 150.3 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006239/0.5728, allocations: 0.613 MB / 0.8132 GB, free: 149.7 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.005302/0.5781, allocations: 5.849 MB / 0.8189 GB, free: 144.3 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3178109284490347] Failed to read output from testmodel.py, exit status != 0: 0.7151749962940812 0.721070933 0.539308726 Calling exit ...