Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.BoundaryConditions.Check.TestPrescribedHeatFlow.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.01706/0.01706, allocations: 2.329 MB / 21.18 MB, free: 3.531 MB / 13.93 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.001089/0.001089, allocations: 116.5 kB / 24.89 MB, free: 240 kB / 13.93 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.0009183/0.0009183, allocations: 221.9 kB / 28.73 MB, free: 1.047 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.9245/0.9245, allocations: 230.6 MB / 263 MB, free: 6.793 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7371/0.7371, allocations: 130.7 MB / 450.7 MB, free: 9.762 MB / 346.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.BoundaryConditions.Check.TestPrescribedHeatFlow,fileNamePrefix="ClaRa_dev_ClaRa_Components_BoundaryConditions_Check_TestPrescribedHeatFlow",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.BoundaryConditions.Check.TestPrescribedHeatFlow,fileNamePrefix="ClaRa_dev_ClaRa_Components_BoundaryConditions_Check_TestPrescribedHeatFlow",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "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: ClaRa requested package SMArtInt of version 0.5.1. SMArtInt 1.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(ClaRa, SMArtInt, \"1.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.03663/0.03663, allocations: 29.93 MB / 0.6466 GB, free: 27 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1593, allocations: 82.05 MB / 0.7267 GB, free: 11.79 MB / 0.5418 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.BoundaryConditions.Check.TestPrescribedHeatFlow): time 0.09841/0.2577, allocations: 40.78 MB / 0.7665 GB, free: 2.941 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.2692, allocations: 11.51 MB / 0.7778 GB, free: 7.391 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007631/0.27, allocations: 43.69 kB / 0.7778 GB, free: 7.348 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.272, allocations: 0.9171 MB / 0.7787 GB, free: 6.426 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.001303/0.2733, allocations: 0.7418 MB / 0.7794 GB, free: 5.68 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.2753, allocations: 1.242 MB / 0.7806 GB, free: 4.434 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 0.001855/0.2771, allocations: 1.932 MB / 0.7825 GB, free: 2.496 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007457/0.2779, allocations: 0.631 MB / 0.7831 GB, free: 1.836 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007404/0.2786, allocations: 0.8364 MB / 0.784 GB, free: 0.9961 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007806/0.2794, allocations: 0.8986 MB / 0.7848 GB, free: 100 kB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/0.2795, allocations: 148 kB / 0.785 GB, free: 15.95 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.2809, allocations: 0.8537 MB / 0.7858 GB, free: 15.1 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0003003/0.2812, allocations: 0.5098 MB / 0.7863 GB, free: 14.59 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.000383/0.2816, allocations: 0.6525 MB / 0.787 GB, free: 13.93 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.002534/0.2841, allocations: 2.884 MB / 0.7898 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2841, allocations: 0 / 0.7898 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of FrontEnd: time 2.254e-06/0.2841, allocations: 0 / 0.7898 GB, free: 11.04 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 2.189e-05/0.2841, allocations: 0 / 0.7898 GB, free: 11.04 MB / 0.6043 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002479/0.2866, allocations: 2.287 MB / 0.792 GB, free: 8.707 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.2867, allocations: 12.03 kB / 0.792 GB, free: 8.695 MB / 0.6043 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/0.2868, allocations: 161.5 kB / 0.7922 GB, free: 8.527 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004651/0.2873, allocations: 255.4 kB / 0.7924 GB, free: 8.277 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/0.29, allocations: 2.213 MB / 0.7946 GB, free: 6.027 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.747e-05/0.2901, allocations: 70.31 kB / 0.7946 GB, free: 5.957 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.2901, allocations: 76.38 kB / 0.7947 GB, free: 5.883 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.2925, allocations: 1.942 MB / 0.7966 GB, free: 3.609 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.2925, allocations: 11.88 kB / 0.7966 GB, free: 3.598 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-05/0.2926, allocations: 44 kB / 0.7967 GB, free: 3.555 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.2926, allocations: 35.98 kB / 0.7967 GB, free: 3.52 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.2946, allocations: 1.12 MB / 0.7978 GB, free: 2.402 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005233/0.2999, allocations: 8.29 MB / 0.8059 GB, free: 9.766 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.3013, allocations: 0.6924 MB / 0.8066 GB, free: 9.016 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.3015, allocations: 211.4 kB / 0.8068 GB, free: 8.793 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 9.862e-05/0.3016, allocations: 52.22 kB / 0.8068 GB, free: 8.742 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.3017, allocations: 46.64 kB / 0.8069 GB, free: 8.688 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=122): time 3.767e-06/0.3017, allocations: 0 / 0.8069 GB, free: 8.688 MB / 0.6199 GB Notification: Performance of matching and sorting (n=122): time 0.003151/0.3048, allocations: 1.606 MB / 0.8084 GB, free: 7.078 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.3049, allocations: 239.6 kB / 0.8087 GB, free: 6.789 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001634/0.3065, allocations: 1.707 MB / 0.8103 GB, free: 5.082 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.3066, allocations: 33.7 kB / 0.8104 GB, free: 5.043 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004557/0.307, allocations: 0.7402 MB / 0.8111 GB, free: 4.297 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.3073, allocations: 424.2 kB / 0.8115 GB, free: 3.879 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/0.3076, allocations: 346.1 kB / 0.8118 GB, free: 3.535 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.3076, allocations: 301.1 kB / 0.8121 GB, free: 3.238 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.3081, allocations: 370.8 kB / 0.8124 GB, free: 2.879 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007431/0.3089, allocations: 1.023 MB / 0.8134 GB, free: 1.551 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.3102, allocations: 1.479 MB / 0.8149 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.3102, allocations: 7.938 kB / 0.8149 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00197/0.3121, allocations: 1.518 MB / 0.8164 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.3122, allocations: 15.94 kB / 0.8164 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009242/0.3131, allocations: 0.7773 MB / 0.8172 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.483e-05/0.3131, allocations: 28 kB / 0.8172 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007239/0.3139, allocations: 403.3 kB / 0.8176 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.431e-05/0.3139, allocations: 39.86 kB / 0.8176 GB, free: 13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/0.3145, allocations: 187 kB / 0.8178 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.3146, allocations: 111.9 kB / 0.8179 GB, free: 12.71 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 92 * 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 (208): * Single equations (assignments): 208 * 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.0006027/0.3152, allocations: 465.1 kB / 0.8183 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002573/0.3154, allocations: 190.6 kB / 0.8185 GB, free: 12.06 MB / 0.6355 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 113 equation(s) and 111 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:65:5-70:23:writable] Error: (boundaryVLE_hxim_flow.fluidOut.VLE.d_l, boundaryVLE_hxim_flow.fluidOut.VLE.h_l, boundaryVLE_hxim_flow.fluidOut.VLE.p_l, boundaryVLE_hxim_flow.fluidOut.VLE.s_l, boundaryVLE_hxim_flow.fluidOut.VLE.T_l, _, boundaryVLE_hxim_flow.fluidOut.VLE.d_v, boundaryVLE_hxim_flow.fluidOut.VLE.h_v, boundaryVLE_hxim_flow.fluidOut.VLE.p_v, boundaryVLE_hxim_flow.fluidOut.VLE.s_v, boundaryVLE_hxim_flow.fluidOut.VLE.T_v, _) = ($cse87, $cse88, $cse89, $cse90, $cse91, $cse92, $cse93, $cse94, $cse95, $cse96, $cse97, $cse98) has size 10 but 9 variables (prescribedHeatFlowVLE.fluidIn.q, prescribedHeatFlowVLE.fluidIn.cp, prescribedHeatFlowVLE.fluidIn.cv, prescribedHeatFlowVLE.fluidIn.beta, prescribedHeatFlowVLE.fluidIn.kappa, prescribedHeatFlowVLE.fluidIn.w, prescribedHeatFlowVLE.fluidIn.drhodh_pxi, prescribedHeatFlowVLE.fluidIn.drhodp_hxi, prescribedHeatFlowVLE.fluidIn.gamma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.3171, allocations: 1.674 MB / 0.8202 GB, free: 10.35 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.265870403498411]