Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01367/0.01367, allocations: 2.33 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.000821/0.000821, allocations: 122.9 kB / 24.89 MB, free: 232 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.001006/0.001006, allocations: 221.2 kB / 28.73 MB, free: 1.035 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.9339/0.9339, allocations: 230.6 MB / 263 MB, free: 488 kB / 202.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.6898/0.6898, allocations: 130.7 MB / 450.7 MB, free: 2.773 MB / 346.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 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_ClaRa_Components_BoundaryConditions_Check_TestPrescribedHeatFlow",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.BoundaryConditions.Check.TestPrescribedHeatFlow,fileNamePrefix="ClaRa_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.03587/0.03587, allocations: 29.95 MB / 0.6466 GB, free: 6.805 MB / 474.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1846, allocations: 82.03 MB / 0.7267 GB, free: 4.652 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.4151/0.5997, allocations: 40.76 MB / 0.7665 GB, free: 24.09 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.01176/0.6114, allocations: 11.51 MB / 0.7778 GB, free: 15.5 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008135/0.6122, allocations: 40.53 kB / 0.7778 GB, free: 15.48 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.001993/0.6142, allocations: 0.9177 MB / 0.7787 GB, free: 14.88 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.6154, allocations: 0.7341 MB / 0.7794 GB, free: 14.29 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.6174, allocations: 1.257 MB / 0.7807 GB, free: 13.36 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.001607/0.619, allocations: 1.934 MB / 0.7825 GB, free: 12.22 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006283/0.6196, allocations: 0.6219 MB / 0.7832 GB, free: 11.76 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007609/0.6203, allocations: 0.8315 MB / 0.784 GB, free: 11.27 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007672/0.6211, allocations: 0.8925 MB / 0.7848 GB, free: 10.71 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.6213, allocations: 152.4 kB / 0.785 GB, free: 10.71 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.6229, allocations: 0.8503 MB / 0.7858 GB, free: 10.33 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.0002983/0.6232, allocations: 0.515 MB / 0.7863 GB, free: 9.949 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0004163/0.6236, allocations: 0.6435 MB / 0.7869 GB, free: 9.516 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.002658/0.6263, allocations: 2.883 MB / 0.7898 GB, free: 7.656 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.6263, allocations: 1.25 kB / 0.7898 GB, free: 7.656 MB / 0.5574 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6263, allocations: 2.688 kB / 0.7898 GB, free: 7.656 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.945e-05/0.6263, allocations: 0 / 0.7898 GB, free: 7.656 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002458/0.6287, allocations: 2.293 MB / 0.792 GB, free: 5.98 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 6.634e-05/0.6288, allocations: 12.47 kB / 0.792 GB, free: 5.98 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001192/0.6289, allocations: 157.1 kB / 0.7922 GB, free: 5.852 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004904/0.6294, allocations: 259.2 kB / 0.7924 GB, free: 5.711 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002597/0.632, allocations: 2.22 MB / 0.7946 GB, free: 4.203 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.6321, allocations: 63.06 kB / 0.7946 GB, free: 4.172 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.285e-05/0.6321, allocations: 80.41 kB / 0.7947 GB, free: 4.145 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/0.6344, allocations: 1.936 MB / 0.7966 GB, free: 2.508 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.6344, allocations: 12 kB / 0.7966 GB, free: 2.5 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.952e-05/0.6345, allocations: 43.12 kB / 0.7967 GB, free: 2.473 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.6345, allocations: 31.44 kB / 0.7967 GB, free: 2.469 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001877/0.6364, allocations: 1.123 MB / 0.7978 GB, free: 1.898 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005623/0.642, allocations: 8.3 MB / 0.8059 GB, free: 9.262 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.6434, allocations: 0.6902 MB / 0.8066 GB, free: 8.52 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.6437, allocations: 214.1 kB / 0.8068 GB, free: 8.297 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.6438, allocations: 48.2 kB / 0.8068 GB, free: 8.25 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.6438, allocations: 50.66 kB / 0.8069 GB, free: 8.191 MB / 0.573 GB Notification: Performance of pre-optimization done (n=122): time 3.176e-06/0.6438, allocations: 0 / 0.8069 GB, free: 8.191 MB / 0.573 GB Notification: Performance of matching and sorting (n=122): time 0.003193/0.647, allocations: 1.601 MB / 0.8084 GB, free: 6.586 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.832e-05/0.6471, allocations: 239.5 kB / 0.8087 GB, free: 6.297 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001759/0.6489, allocations: 1.703 MB / 0.8103 GB, free: 4.594 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.6489, allocations: 34.98 kB / 0.8104 GB, free: 4.559 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004377/0.6494, allocations: 0.7363 MB / 0.8111 GB, free: 3.816 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.6496, allocations: 432.2 kB / 0.8115 GB, free: 3.391 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003499/0.65, allocations: 350 kB / 0.8118 GB, free: 3.043 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.589e-05/0.6501, allocations: 301.1 kB / 0.8121 GB, free: 2.746 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007349/0.6508, allocations: 370.8 kB / 0.8125 GB, free: 2.383 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007864/0.6516, allocations: 1.027 MB / 0.8135 GB, free: 1.059 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.653, allocations: 1.467 MB / 0.8149 GB, free: 15.34 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.653, allocations: 4 kB / 0.8149 GB, free: 15.34 MB / 0.5887 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001849/0.6548, allocations: 1.519 MB / 0.8164 GB, free: 13.83 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.6549, allocations: 15.94 kB / 0.8164 GB, free: 13.82 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009883/0.6559, allocations: 0.782 MB / 0.8172 GB, free: 13.04 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.65e-05/0.6559, allocations: 31.94 kB / 0.8172 GB, free: 13.01 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006722/0.6566, allocations: 408.6 kB / 0.8176 GB, free: 12.61 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.882e-05/0.6566, allocations: 46.05 kB / 0.8176 GB, free: 12.57 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005961/0.6572, allocations: 190.5 kB / 0.8178 GB, free: 12.38 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.6573, allocations: 99.95 kB / 0.8179 GB, free: 12.29 MB / 0.5887 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.0005478/0.6579, allocations: 469 kB / 0.8184 GB, free: 11.82 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/0.6581, allocations: 186.7 kB / 0.8185 GB, free: 11.63 MB / 0.5887 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.002016/0.6601, allocations: 1.677 MB / 0.8202 GB, free: 10.04 MB / 0.5887 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.6056293919682503]