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.01319/0.01319, allocations: 1.768 MB / 18.12 MB, free: 4.906 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.001589/0.001589, allocations: 103.7 kB / 21.36 MB, free: 1.684 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.001907/0.001907, allocations: 219.8 kB / 24.75 MB, free: 3.691 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.557/1.557, allocations: 230.6 MB / 258.5 MB, free: 13.1 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.133/1.133, allocations: 130.6 MB / 445.6 MB, free: 15.04 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: 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.4171/0.4171, allocations: 46.15 MB / 0.6545 GB, free: 30.55 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.6141, allocations: 89.05 MB / 0.7414 GB, free: 2.762 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestThreeWayValve): time 0.01313/0.6273, allocations: 10.76 MB / 0.7519 GB, free: 7.961 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02114/0.6484, allocations: 13.26 MB / 0.7649 GB, free: 10.66 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/0.6504, allocations: 51.62 kB / 0.7649 GB, free: 10.61 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.003743/0.6542, allocations: 1.158 MB / 0.7661 GB, free: 9.441 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.004001/0.6582, allocations: 1.064 MB / 0.7671 GB, free: 8.371 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.005559/0.6637, allocations: 1.667 MB / 0.7687 GB, free: 6.703 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.006372/0.6701, allocations: 2.859 MB / 0.7715 GB, free: 3.836 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.6718, allocations: 0.7888 MB / 0.7723 GB, free: 3.02 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002295/0.6741, allocations: 1.198 MB / 0.7735 GB, free: 1.816 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/0.6762, allocations: 1.302 MB / 0.7747 GB, free: 0.5117 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 0.0003467/0.6765, allocations: 200 kB / 0.7749 GB, free: 324 kB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/0.6799, allocations: 1.271 MB / 0.7762 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007332/0.6806, allocations: 0.6616 MB / 0.7768 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.682, allocations: 1.146 MB / 0.7779 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006206/0.6882, allocations: 3.783 MB / 0.7816 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.6882, allocations: 4 kB / 0.7816 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.294e-06/0.6882, allocations: 0 / 0.7816 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.199e-05/0.6883, allocations: 4 kB / 0.7816 GB, free: 9.422 MB / 0.5919 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.005374/0.6937, allocations: 2.936 MB / 0.7845 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.6937, allocations: 8.031 kB / 0.7845 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002792/0.694, allocations: 208.4 kB / 0.7847 GB, free: 6.195 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.695, allocations: 331 kB / 0.785 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004703/0.6997, allocations: 2.675 MB / 0.7876 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.799e-05/0.6998, allocations: 82.58 kB / 0.7877 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.6999, allocations: 108.4 kB / 0.7878 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005272/0.7052, allocations: 2.51 MB / 0.7903 GB, free: 48 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.965e-05/0.7053, allocations: 19.81 kB / 0.7903 GB, free: 28 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.7054, allocations: 60.08 kB / 0.7904 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.988e-05/0.7054, allocations: 43.94 kB / 0.7904 GB, free: 15.92 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004426/0.7099, allocations: 1.698 MB / 0.7921 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.7215, allocations: 12.66 MB / 0.8044 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004084/0.7256, allocations: 1.325 MB / 0.8057 GB, free: 15.63 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007923/0.7264, allocations: 413.6 kB / 0.8061 GB, free: 15.2 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002006/0.7266, allocations: 76.42 kB / 0.8062 GB, free: 15.12 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.7266, allocations: 47.06 kB / 0.8062 GB, free: 15.07 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=202): time 3.226e-06/0.7266, allocations: 0 / 0.8062 GB, free: 15.07 MB / 0.6232 GB Notification: Performance of matching and sorting (n=202): time 0.009226/0.7359, allocations: 2.934 MB / 0.8091 GB, free: 12.11 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002122/0.7361, allocations: 317 kB / 0.8094 GB, free: 11.73 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003278/0.7394, allocations: 2.034 MB / 0.8114 GB, free: 9.664 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/0.7395, allocations: 37.7 kB / 0.8114 GB, free: 9.621 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008274/0.7403, allocations: 0.9257 MB / 0.8123 GB, free: 8.684 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.000707/0.741, allocations: 0.6853 MB / 0.813 GB, free: 7.992 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007465/0.7418, allocations: 500 kB / 0.8135 GB, free: 7.5 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.7419, allocations: 305.1 kB / 0.8138 GB, free: 7.199 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.7431, allocations: 0.6174 MB / 0.8144 GB, free: 6.578 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/0.7452, allocations: 1.455 MB / 0.8158 GB, free: 4.73 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003594/0.7487, allocations: 2.286 MB / 0.818 GB, free: 2.07 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/0.7488, allocations: 12 kB / 0.818 GB, free: 2.059 MB / 0.6232 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.004801/0.7536, allocations: 2.373 MB / 0.8203 GB, free: 15.68 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.7536, allocations: 19.94 kB / 0.8204 GB, free: 15.66 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002786/0.7564, allocations: 1.443 MB / 0.8218 GB, free: 14.21 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008408/0.7572, allocations: 152.8 kB / 0.8219 GB, free: 14.06 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.7589, allocations: 0.5888 MB / 0.8225 GB, free: 13.47 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009285/0.7598, allocations: 0.7278 MB / 0.8232 GB, free: 12.71 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.7616, allocations: 266 kB / 0.8235 GB, free: 12.45 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002536/0.7618, allocations: 163.9 kB / 0.8236 GB, free: 12.29 MB / 0.6388 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.001278/0.7631, allocations: 0.5828 MB / 0.8242 GB, free: 11.7 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007288/0.7638, allocations: 242.3 kB / 0.8244 GB, free: 11.46 MB / 0.6388 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.004505/0.7683, allocations: 2.355 MB / 0.8267 GB, free: 9.074 MB / 0.6388 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.531489989996771] Failed to read output from testmodel.py, exit status != 0: 0.7757236219913466 0.789388794 0.09820615 Calling exit ...