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.006627/0.006627, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 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.0008907/0.0008907, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 18.57 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.001233/0.001233, allocations: 161.9 kB / 27.85 MB, free: 5.098 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.8873/0.8873, allocations: 177.2 MB / 208.6 MB, free: 2.961 MB / 186.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.696/0.696, allocations: 102.5 MB / 367.9 MB, free: 1.441 MB / 330.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 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.BoundaryConditions.Check.TestPrescribedHeatFlow,fileNamePrefix="ClaRa_ClaRa_Components_BoundaryConditions_Check_TestPrescribedHeatFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.BoundaryConditions.Check.TestPrescribedHeatFlow,fileNamePrefix="ClaRa_ClaRa_Components_BoundaryConditions_Check_TestPrescribedHeatFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.5362 GB, free: 40.09 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.103e-05/2.307e-05, allocations: 2.281 kB / 0.5362 GB, free: 40.09 MB / 490.8 MB 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.1119/0.1119, allocations: 54.41 MB / 0.5893 GB, free: 6.109 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01091/0.1228, allocations: 11.29 MB / 0.6003 GB, free: 10.78 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007305/0.1235, allocations: 39.69 kB / 0.6004 GB, free: 10.74 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.1254, allocations: 0.9245 MB / 0.6013 GB, free: 9.809 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.1264, allocations: 0.7684 MB / 0.602 GB, free: 9.035 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.1283, allocations: 1.269 MB / 0.6033 GB, free: 7.762 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.001461/0.1297, allocations: 1.99 MB / 0.6052 GB, free: 5.766 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005884/0.1303, allocations: 0.6273 MB / 0.6058 GB, free: 5.113 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008129/0.1311, allocations: 1.114 MB / 0.6069 GB, free: 3.996 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006739/0.1318, allocations: 0.7749 MB / 0.6077 GB, free: 3.219 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.1319, allocations: 148 kB / 0.6078 GB, free: 3.074 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.1332, allocations: 0.8573 MB / 0.6086 GB, free: 2.215 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0003211/0.1335, allocations: 0.5177 MB / 0.6092 GB, free: 1.695 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0003939/0.1339, allocations: 0.5024 MB / 0.6096 GB, free: 1.191 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.00237/0.1362, allocations: 2.843 MB / 0.6124 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1362, allocations: 0 / 0.6124 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1362, allocations: 4 kB / 0.6124 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.1363, allocations: 4 kB / 0.6124 GB, free: 14.33 MB / 0.5105 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.002606/0.1389, allocations: 2.255 MB / 0.6146 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1389, allocations: 12.03 kB / 0.6146 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.139, allocations: 165.5 kB / 0.6148 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004062/0.1394, allocations: 255.4 kB / 0.615 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002373/0.1418, allocations: 2.205 MB / 0.6172 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.192e-05/0.1419, allocations: 62.38 kB / 0.6173 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.374e-05/0.1419, allocations: 80.38 kB / 0.6173 GB, free: 9.211 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/0.1439, allocations: 1.943 MB / 0.6192 GB, free: 6.945 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.1439, allocations: 12.12 kB / 0.6192 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/0.144, allocations: 43.94 kB / 0.6193 GB, free: 6.891 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.144, allocations: 31.94 kB / 0.6193 GB, free: 6.859 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.1456, allocations: 1.128 MB / 0.6204 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003982/0.1495, allocations: 8.254 MB / 0.6285 GB, free: 13.13 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.1507, allocations: 0.6963 MB / 0.6292 GB, free: 12.38 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.1509, allocations: 211.4 kB / 0.6294 GB, free: 12.16 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-05/0.151, allocations: 52.2 kB / 0.6294 GB, free: 12.11 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.151, allocations: 42.73 kB / 0.6294 GB, free: 12.06 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=122): time 1.914e-06/0.151, allocations: 4 kB / 0.6294 GB, free: 12.05 MB / 0.5262 GB Notification: Performance of matching and sorting (n=122): time 0.002697/0.1537, allocations: 1.61 MB / 0.631 GB, free: 10.44 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.375e-05/0.1538, allocations: 239.5 kB / 0.6313 GB, free: 10.15 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.1551, allocations: 1.7 MB / 0.6329 GB, free: 8.453 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.1551, allocations: 33.7 kB / 0.6329 GB, free: 8.414 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003707/0.1555, allocations: 0.7324 MB / 0.6337 GB, free: 7.676 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.1557, allocations: 424.2 kB / 0.6341 GB, free: 7.258 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.156, allocations: 334.1 kB / 0.6344 GB, free: 6.922 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 7.16e-05/0.156, allocations: 301.1 kB / 0.6347 GB, free: 6.625 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004369/0.1565, allocations: 374.8 kB / 0.635 GB, free: 6.262 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007106/0.1572, allocations: 1.023 MB / 0.636 GB, free: 4.938 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.1585, allocations: 1.476 MB / 0.6375 GB, free: 3.184 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.1585, allocations: 8 kB / 0.6375 GB, free: 3.176 MB / 0.5262 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001574/0.1601, allocations: 1.527 MB / 0.639 GB, free: 1.641 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.1601, allocations: 18.84 kB / 0.639 GB, free: 1.625 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000889/0.161, allocations: 0.7696 MB / 0.6397 GB, free: 0.8555 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/0.161, allocations: 35.94 kB / 0.6398 GB, free: 0.8203 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005778/0.1616, allocations: 411.3 kB / 0.6402 GB, free: 428 kB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-05/0.1617, allocations: 43.84 kB / 0.6402 GB, free: 384 kB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003984/0.162, allocations: 182.5 kB / 0.6404 GB, free: 200 kB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.329e-05/0.1621, allocations: 108 kB / 0.6405 GB, free: 92 kB / 0.5262 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.0004158/0.1626, allocations: 465 kB / 0.6409 GB, free: 15.62 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001955/0.1628, allocations: 190.9 kB / 0.6411 GB, free: 15.44 MB / 0.5418 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.001603/0.1644, allocations: 1.67 MB / 0.6427 GB, free: 13.72 MB / 0.5418 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.014470965601504] Failed to read output from testmodel.py, exit status != 0: 0.3393839653581381 0.34902982599999993 0.21090103799999996 Calling exit ...