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.008198/0.008198, allocations: 1.787 MB / 20.88 MB, free: 3.648 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.00403/0.00403, allocations: 78.58 kB / 24.59 MB, free: 7.215 MB / 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.0008725/0.0008725, allocations: 161.1 kB / 28.4 MB, free: 4.312 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.9022/0.9022, allocations: 177.2 MB / 209.3 MB, free: 2.516 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.7121/0.7121, allocations: 102.5 MB / 368.7 MB, free: 1.004 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 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: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.5378 GB, free: 39.11 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.605e-05, allocations: 4.75 kB / 0.5378 GB, free: 39.11 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.1223/0.1223, allocations: 63.1 MB / 0.5995 GB, free: 12.09 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01138/0.1337, allocations: 11.28 MB / 0.6105 GB, free: 0.7734 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006182/0.1343, allocations: 43.69 kB / 0.6105 GB, free: 0.7305 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.002059/0.1364, allocations: 0.9285 MB / 0.6114 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0009278/0.1373, allocations: 0.7607 MB / 0.6122 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.1391, allocations: 1.269 MB / 0.6134 GB, free: 13.75 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00119/0.1403, allocations: 1.988 MB / 0.6153 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005132/0.1408, allocations: 0.639 MB / 0.616 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006884/0.1415, allocations: 1.114 MB / 0.6171 GB, free: 9.98 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006065/0.1421, allocations: 0.7711 MB / 0.6178 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.1422, allocations: 148 kB / 0.618 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008495/0.143, allocations: 0.8573 MB / 0.6188 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.1433, allocations: 0.5176 MB / 0.6193 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.1436, allocations: 0.5063 MB / 0.6198 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.1455, allocations: 2.839 MB / 0.6226 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1455, allocations: 4 kB / 0.6226 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1455, allocations: 0 / 0.6226 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.248e-05/0.1455, allocations: 0 / 0.6226 GB, free: 4.324 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.001911/0.1474, allocations: 2.263 MB / 0.6248 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1475, allocations: 12.03 kB / 0.6248 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/0.1476, allocations: 161.5 kB / 0.6249 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000406/0.148, allocations: 255.4 kB / 0.6252 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/0.1503, allocations: 2.209 MB / 0.6273 GB, free: 15.34 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.1503, allocations: 66.38 kB / 0.6274 GB, free: 15.27 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.411e-05/0.1504, allocations: 80.38 kB / 0.6275 GB, free: 15.19 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002069/0.1525, allocations: 1.935 MB / 0.6294 GB, free: 12.93 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.1525, allocations: 12.06 kB / 0.6294 GB, free: 12.92 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/0.1525, allocations: 47.94 kB / 0.6294 GB, free: 12.88 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.1526, allocations: 31.98 kB / 0.6295 GB, free: 12.84 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.1543, allocations: 1.12 MB / 0.6306 GB, free: 11.72 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004127/0.1584, allocations: 8.266 MB / 0.6386 GB, free: 3.121 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.1597, allocations: 0.6924 MB / 0.6393 GB, free: 2.375 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.1599, allocations: 207.5 kB / 0.6395 GB, free: 2.152 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.16, allocations: 48.2 kB / 0.6395 GB, free: 2.105 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.1601, allocations: 46.73 kB / 0.6396 GB, free: 2.051 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=122): time 2.354e-06/0.1601, allocations: 0 / 0.6396 GB, free: 2.051 MB / 0.5262 GB Notification: Performance of matching and sorting (n=122): time 0.00297/0.163, allocations: 1.61 MB / 0.6412 GB, free: 448 kB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.1631, allocations: 235.6 kB / 0.6414 GB, free: 156 kB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.1647, allocations: 1.7 MB / 0.6431 GB, free: 14.45 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.1647, allocations: 33.7 kB / 0.6431 GB, free: 14.41 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.1651, allocations: 0.7439 MB / 0.6438 GB, free: 13.66 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.1653, allocations: 416.3 kB / 0.6442 GB, free: 13.25 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002993/0.1656, allocations: 334.1 kB / 0.6445 GB, free: 12.92 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.1657, allocations: 305.1 kB / 0.6448 GB, free: 12.62 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004641/0.1661, allocations: 374.9 kB / 0.6452 GB, free: 12.25 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007807/0.1669, allocations: 1.035 MB / 0.6462 GB, free: 10.92 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.1682, allocations: 1.472 MB / 0.6476 GB, free: 9.168 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.1682, allocations: 4 kB / 0.6476 GB, free: 9.164 MB / 0.5418 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001667/0.1699, allocations: 1.516 MB / 0.6491 GB, free: 7.641 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.1699, allocations: 12 kB / 0.6491 GB, free: 7.629 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001115/0.171, allocations: 0.7794 MB / 0.6499 GB, free: 6.852 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.423e-05/0.1711, allocations: 36 kB / 0.6499 GB, free: 6.816 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006496/0.1717, allocations: 415.2 kB / 0.6503 GB, free: 6.41 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.516e-05/0.1718, allocations: 39.86 kB / 0.6503 GB, free: 6.371 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/0.1722, allocations: 186.5 kB / 0.6505 GB, free: 6.188 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.897e-05/0.1723, allocations: 103.9 kB / 0.6506 GB, free: 6.086 MB / 0.5418 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.0004246/0.1727, allocations: 465.1 kB / 0.6511 GB, free: 5.621 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002175/0.1729, allocations: 190.7 kB / 0.6512 GB, free: 5.434 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.001727/0.1747, allocations: 1.666 MB / 0.6529 GB, free: 3.723 MB / 0.5418 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.0146879265084863]