Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves.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.01291/0.01291, allocations: 1.757 MB / 20.59 MB, free: 1.293 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.001448/0.001448, allocations: 106.6 kB / 24.19 MB, free: 2.672 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.002046/0.002046, allocations: 207.8 kB / 27.92 MB, free: 4.035 MB / 19.63 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.458/1.458, allocations: 230.6 MB / 262.1 MB, free: 6.023 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.075/1.075, allocations: 130.7 MB / 449.7 MB, free: 6.582 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.TestValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves,fileNamePrefix="ClaRa_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestValves",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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). 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.03215/0.03215, allocations: 20.79 MB / 0.6357 GB, free: 5.141 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1948, allocations: 81.91 MB / 0.7157 GB, free: 3.137 MB / 0.5294 GB 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.TestValves): time 0.5049/0.6998, allocations: 63.61 MB / 0.7779 GB, free: 7.402 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03851/0.7383, allocations: 21.95 MB / 0.7993 GB, free: 7.664 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01027/0.7485, allocations: 196.8 kB / 0.7995 GB, free: 7.566 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.009553/0.7581, allocations: 2.879 MB / 0.8023 GB, free: 5.574 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01685/0.7749, allocations: 4.591 MB / 0.8068 GB, free: 1.84 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01377/0.7887, allocations: 4.88 MB / 0.8115 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.02345/0.8121, allocations: 12.18 MB / 0.8234 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007896/0.82, allocations: 3.527 MB / 0.8269 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01145/0.8315, allocations: 4.943 MB / 0.8317 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01054/0.842, allocations: 5.082 MB / 0.8367 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00352/0.8456, allocations: 0.7617 MB / 0.8374 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007724/0.8533, allocations: 2.234 MB / 0.8396 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004266/0.8575, allocations: 2.316 MB / 0.8418 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.008706/0.8663, allocations: 4.262 MB / 0.846 GB, free: 13.67 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.0211/0.8873, allocations: 11.88 MB / 0.8576 GB, free: 1.746 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.8874, allocations: 0 / 0.8576 GB, free: 1.746 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8874, allocations: 1.594 kB / 0.8576 GB, free: 1.746 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0004299/0.8878, allocations: 2.594 kB / 0.8576 GB, free: 1.746 MB / 0.6232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.01884/0.9066, allocations: 8.515 MB / 0.8659 GB, free: 9.168 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.9067, allocations: 12.03 kB / 0.8659 GB, free: 9.156 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001292/0.908, allocations: 0.7832 MB / 0.8667 GB, free: 8.363 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003164/0.9111, allocations: 1.122 MB / 0.8678 GB, free: 7.238 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01319/0.9243, allocations: 5.995 MB / 0.8737 GB, free: 1.195 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003931/0.9247, allocations: 356 kB / 0.874 GB, free: 0.8477 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001233/0.9259, allocations: 452 kB / 0.8744 GB, free: 416 kB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02578/0.9517, allocations: 10.87 MB / 0.885 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001535/0.9519, allocations: 71.31 kB / 0.8851 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006751/0.9526, allocations: 246.7 kB / 0.8853 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001805/0.9527, allocations: 164 kB / 0.8855 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02323/0.976, allocations: 7.955 MB / 0.8933 GB, free: 11.68 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06277/1.039, allocations: 51.85 MB / 0.9439 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01958/1.058, allocations: 6.18 MB / 0.9499 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006029/1.064, allocations: 1.887 MB / 0.9518 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001765/1.066, allocations: 354 kB / 0.9521 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/1.066, allocations: 110.9 kB / 0.9522 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=863): time 8.566e-06/1.066, allocations: 3.938 kB / 0.9522 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=863): time 0.04258/1.109, allocations: 12 MB / 0.9639 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005694/1.109, allocations: 0.9633 MB / 0.9649 GB, free: 80 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01193/1.121, allocations: 6.122 MB / 0.9709 GB, free: 9.984 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 0.0015/1.123, allocations: 86.45 kB / 0.9709 GB, free: 9.895 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.003325/1.126, allocations: 3.225 MB / 0.9741 GB, free: 6.645 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.004396/1.131, allocations: 2.95 MB / 0.977 GB, free: 3.668 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004659/1.135, allocations: 1.94 MB / 0.9789 GB, free: 1.719 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.135, allocations: 305.1 kB / 0.9792 GB, free: 1.418 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006489/1.142, allocations: 2.883 MB / 0.982 GB, free: 14.52 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01027/1.152, allocations: 6.001 MB / 0.9878 GB, free: 7.184 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01813/1.17, allocations: 9.693 MB / 0.9973 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.756e-05/1.17, allocations: 28 kB / 0.9973 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02772/1.198, allocations: 9.962 MB / 1.007 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/1.198, allocations: 47.94 kB / 1.007 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01787/1.216, allocations: 6.536 MB / 1.013 GB, free: 11.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003863/1.216, allocations: 156 kB / 1.014 GB, free: 11.36 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009527/1.226, allocations: 2.511 MB / 1.016 GB, free: 8.848 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004039/1.226, allocations: 223.2 kB / 1.016 GB, free: 8.629 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008168/1.235, allocations: 1.113 MB / 1.017 GB, free: 7.508 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002356/1.237, allocations: 0.6441 MB / 1.018 GB, free: 6.863 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01188/1.249, allocations: 4.034 MB / 1.022 GB, free: 2.82 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01112/1.26, allocations: 5.929 MB / 1.028 GB, free: 11.46 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0188/1.279, allocations: 9.567 MB / 1.037 GB, free: 480 kB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000121/1.279, allocations: 28 kB / 1.037 GB, free: 452 kB / 0.8107 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.02767/1.307, allocations: 9.819 MB / 1.047 GB, free: 6.57 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/1.307, allocations: 56.2 kB / 1.047 GB, free: 6.516 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01729/1.324, allocations: 6.394 MB / 1.053 GB, free: 68 kB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003553/1.324, allocations: 156.1 kB / 1.053 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009298/1.334, allocations: 2.496 MB / 1.056 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003616/1.334, allocations: 219.2 kB / 1.056 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00975/1.344, allocations: 0.8968 MB / 1.057 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003023/1.347, allocations: 0.6324 MB / 1.057 GB, free: 11.66 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 4 (valve5.pressureLoss.normIsValid,valve4.pressureLoss.normIsValid,valve2.pressureLoss.normIsValid,valve1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1296): * Single equations (assignments): 1296 * Array equations: 0 * Algorithm blocks: 0 * 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.00523/1.352, allocations: 0.7563 MB / 1.058 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005406/1.357, allocations: 0.8185 MB / 1.059 GB, free: 10.07 MB / 0.8419 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 1203 equation(s) and 1155 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pressureSink_XRG4.fluidOut.q, pressureSink_XRG4.fluidOut.cp, pressureSink_XRG4.fluidOut.cv, pressureSink_XRG4.fluidOut.beta, pressureSink_XRG4.fluidOut.kappa, pressureSink_XRG4.fluidOut.drhodp_hxi, pressureSink_XRG4.fluidOut.drhodh_pxi, _, pressureSink_XRG4.fluidOut.w, pressureSink_XRG4.fluidOut.gamma) = ($cse486, $cse487, $cse488, $cse489, $cse490, $cse491, $cse492, $cse493, $cse494, $cse495) has size 9 but 5 variables ($cse261, valve6.pressureLoss.m_flow, valve6.pressureLoss.aperture_, valve6.pressureLoss.Delta_p, valve6.pressureLoss.Psi) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3454/1.703, allocations: 11.81 MB / 1.07 GB, free: 357.7 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.609146482998767] Failed to read output from testmodel.py, exit status != 0: 1.8794948700015084 1.89003069 0.999937843 Calling exit ...