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.01527/0.01527, allocations: 1.757 MB / 20.6 MB, free: 0.8828 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.001606/0.001606, allocations: 99.84 kB / 24.18 MB, free: 2.184 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.002028/0.002028, allocations: 215.5 kB / 27.9 MB, free: 3.504 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.426/1.426, allocations: 230.6 MB / 262.1 MB, free: 5.836 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.041/1.041, allocations: 130.7 MB / 449.6 MB, free: 6.434 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.06489/0.06489, allocations: 20.99 MB / 0.6358 GB, free: 4.699 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.2281, allocations: 81.91 MB / 0.7158 GB, free: 2.695 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.4997/0.7278, allocations: 59.24 MB / 0.7737 GB, free: 11.52 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03586/0.7637, allocations: 21.17 MB / 0.7944 GB, free: 12.62 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01254/0.7762, allocations: 192.5 kB / 0.7945 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.008998/0.7852, allocations: 2.834 MB / 0.7973 GB, free: 10.53 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01675/0.802, allocations: 4.608 MB / 0.8018 GB, free: 6.809 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.01372/0.8157, allocations: 4.889 MB / 0.8066 GB, free: 3.184 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.02182/0.8375, allocations: 12.16 MB / 0.8185 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008769/0.8463, allocations: 3.805 MB / 0.8222 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01286/0.8592, allocations: 4.958 MB / 0.827 GB, free: 0.625 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01196/0.8711, allocations: 4.726 MB / 0.8316 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.004015/0.8751, allocations: 0.7656 MB / 0.8324 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008148/0.8833, allocations: 1.826 MB / 0.8342 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.005289/0.8886, allocations: 2.32 MB / 0.8364 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.009052/0.8976, allocations: 3.291 MB / 0.8396 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.02534/0.923, allocations: 11.85 MB / 0.8512 GB, free: 7.754 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.923, allocations: 0 / 0.8512 GB, free: 7.754 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.923e-06/0.923, allocations: 0 / 0.8512 GB, free: 7.754 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0005307/0.9235, allocations: 0 / 0.8512 GB, free: 7.754 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.02209/0.9456, allocations: 8.515 MB / 0.8595 GB, free: 15.17 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.9457, allocations: 10.69 kB / 0.8595 GB, free: 15.16 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001548/0.9472, allocations: 0.7902 MB / 0.8603 GB, free: 14.37 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003531/0.9507, allocations: 1.119 MB / 0.8614 GB, free: 13.24 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01485/0.9656, allocations: 6.003 MB / 0.8673 GB, free: 7.195 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004095/0.966, allocations: 356.1 kB / 0.8676 GB, free: 6.848 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/0.9672, allocations: 452 kB / 0.868 GB, free: 6.406 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02853/0.9957, allocations: 12.08 MB / 0.8798 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002571/0.996, allocations: 71.31 kB / 0.8799 GB, free: 8.383 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009986/0.997, allocations: 240 kB / 0.8801 GB, free: 8.148 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001916/0.9971, allocations: 164 kB / 0.8803 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02458/1.022, allocations: 7.922 MB / 0.888 GB, free: 72 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05999/1.082, allocations: 49.5 MB / 0.9364 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02097/1.103, allocations: 6.167 MB / 0.9424 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005124/1.108, allocations: 1.889 MB / 0.9442 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/1.109, allocations: 319.5 kB / 0.9445 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000127/1.109, allocations: 97.69 kB / 0.9446 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=863): time 1.041e-05/1.109, allocations: 0 / 0.9446 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=863): time 0.04359/1.153, allocations: 12.01 MB / 0.9564 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006614/1.154, allocations: 0.9646 MB / 0.9573 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01644/1.17, allocations: 6.283 MB / 0.9634 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001767/1.172, allocations: 85.7 kB / 0.9635 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003884/1.176, allocations: 3.225 MB / 0.9667 GB, free: 13.27 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 0.005039/1.181, allocations: 2.947 MB / 0.9695 GB, free: 10.3 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003831/1.185, allocations: 1.938 MB / 0.9714 GB, free: 8.352 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.185, allocations: 305.1 kB / 0.9717 GB, free: 8.051 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005941/1.191, allocations: 2.887 MB / 0.9746 GB, free: 5.156 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009279/1.2, allocations: 6.304 MB / 0.9807 GB, free: 13.35 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01735/1.217, allocations: 9.686 MB / 0.9902 GB, free: 2.375 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/1.217, allocations: 28 kB / 0.9902 GB, free: 2.348 MB / 0.7638 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02466/1.242, allocations: 9.967 MB / 0.9999 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.056e-05/1.242, allocations: 51.94 kB / 1 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01392/1.256, allocations: 6.529 MB / 1.006 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002272/1.256, allocations: 156 kB / 1.007 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00856/1.265, allocations: 2.519 MB / 1.009 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002489/1.265, allocations: 215.2 kB / 1.009 GB, free: 14.89 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007066/1.272, allocations: 1.12 MB / 1.01 GB, free: 13.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001456/1.274, allocations: 0.6402 MB / 1.011 GB, free: 13.13 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009478/1.283, allocations: 4.037 MB / 1.015 GB, free: 9.086 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01016/1.293, allocations: 6.234 MB / 1.021 GB, free: 1.352 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01851/1.312, allocations: 9.567 MB / 1.03 GB, free: 6.492 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001251/1.312, allocations: 31.94 kB / 1.03 GB, free: 6.461 MB / 0.8107 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.02726/1.339, allocations: 9.823 MB / 1.04 GB, free: 12.65 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001649/1.339, allocations: 48 kB / 1.04 GB, free: 12.61 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01596/1.355, allocations: 6.387 MB / 1.046 GB, free: 6.168 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003169/1.356, allocations: 159.9 kB / 1.046 GB, free: 6.012 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008966/1.365, allocations: 2.496 MB / 1.049 GB, free: 3.512 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002907/1.365, allocations: 218.2 kB / 1.049 GB, free: 3.301 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007611/1.373, allocations: 0.8916 MB / 1.05 GB, free: 2.414 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001796/1.374, allocations: 0.6324 MB / 1.05 GB, free: 1.781 MB / 0.8263 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.003273/1.378, allocations: 0.7638 MB / 1.051 GB, free: 1.008 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003134/1.381, allocations: 0.8082 MB / 1.052 GB, free: 200 kB / 0.8263 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.02208/1.403, allocations: 11.9 MB / 1.064 GB, free: 4.551 MB / 0.8419 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.561537317931652] Failed to read output from testmodel.py, exit status != 0: 1.8330649198032916 1.843356274 0.917690068 Calling exit ...