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 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.01077/0.01077, allocations: 1.354 MB / 20.45 MB, free: 4.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.09053/0.09053, allocations: 18.25 MB / 42.2 MB, free: 5.191 MB / 33.03 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.001123/0.001123, allocations: 95.62 kB / 53.07 MB, free: 6.508 MB / 44.04 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.001336/0.001336, allocations: 160.1 kB / 64.03 MB, free: 10.21 MB / 58.72 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.9384/0.9384, allocations: 177.2 MB / 252.1 MB, free: 11.75 MB / 218.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.5051/0.5051, allocations: 102.5 MB / 418.6 MB, free: 5.188 MB / 362.7 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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/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 1.253e-06/1.253e-06, allocations: 3.938 kB / 0.6029 GB, free: 280 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.668e-06/1.092e-05, allocations: 2.281 kB / 0.6029 GB, free: 276 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.BoundaryConditions.Check.TestPrescribedHeatFlow): time 0.006002/0.006013, allocations: 7.738 MB / 0.6105 GB, free: 8.492 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01074/0.01675, allocations: 11.29 MB / 0.6215 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005341/0.01728, allocations: 39.69 kB / 0.6215 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.0189, allocations: 0.9245 MB / 0.6224 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0008498/0.01975, allocations: 0.7662 MB / 0.6232 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.02145, allocations: 1.273 MB / 0.6244 GB, free: 10.15 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.0226, allocations: 1.995 MB / 0.6264 GB, free: 8.145 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005092/0.02311, allocations: 0.6351 MB / 0.627 GB, free: 7.492 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009166/0.02402, allocations: 1.114 MB / 0.6281 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005902/0.02461, allocations: 0.7709 MB / 0.6288 GB, free: 5.605 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.02474, allocations: 152 kB / 0.629 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008939/0.02563, allocations: 0.8534 MB / 0.6298 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.02592, allocations: 0.5255 MB / 0.6303 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003328/0.02625, allocations: 0.5063 MB / 0.6308 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.02819, allocations: 2.835 MB / 0.6336 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.02819, allocations: 0 / 0.6336 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.81e-07/0.02819, allocations: 0 / 0.6336 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.02821, allocations: 4 kB / 0.6336 GB, free: 0.7188 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.002243/0.03045, allocations: 2.271 MB / 0.6358 GB, free: 14.41 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.03049, allocations: 12.03 kB / 0.6358 GB, free: 14.39 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/0.03061, allocations: 157.5 kB / 0.636 GB, free: 14.23 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/0.03102, allocations: 251.5 kB / 0.6362 GB, free: 13.98 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.03326, allocations: 2.213 MB / 0.6384 GB, free: 11.73 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.0333, allocations: 62.38 kB / 0.6384 GB, free: 11.67 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.03336, allocations: 76.38 kB / 0.6385 GB, free: 11.59 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.03537, allocations: 1.935 MB / 0.6404 GB, free: 9.336 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.03539, allocations: 16.06 kB / 0.6404 GB, free: 9.32 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.778e-05/0.03544, allocations: 43.94 kB / 0.6405 GB, free: 9.277 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.03545, allocations: 28 kB / 0.6405 GB, free: 9.25 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.03731, allocations: 1.124 MB / 0.6416 GB, free: 8.125 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003781/0.04109, allocations: 8.262 MB / 0.6496 GB, free: 15.52 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.04228, allocations: 0.7002 MB / 0.6503 GB, free: 14.77 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.0425, allocations: 199.5 kB / 0.6505 GB, free: 14.56 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 8.16e-05/0.04258, allocations: 52.2 kB / 0.6506 GB, free: 14.51 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.0426, allocations: 50.67 kB / 0.6506 GB, free: 14.45 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=122): time 1.704e-06/0.0426, allocations: 0 / 0.6506 GB, free: 14.45 MB / 0.5418 GB Notification: Performance of matching and sorting (n=122): time 0.002785/0.04539, allocations: 1.607 MB / 0.6522 GB, free: 12.84 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/0.04546, allocations: 235.6 kB / 0.6524 GB, free: 12.55 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.0468, allocations: 1.703 MB / 0.6541 GB, free: 10.85 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 3.625e-05/0.04684, allocations: 37.83 kB / 0.6541 GB, free: 10.81 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/0.04719, allocations: 0.7363 MB / 0.6548 GB, free: 10.07 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.04737, allocations: 420.2 kB / 0.6552 GB, free: 9.652 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.04764, allocations: 334.1 kB / 0.6556 GB, free: 9.316 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0002781/0.04791, allocations: 301.1 kB / 0.6558 GB, free: 9.02 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004515/0.04837, allocations: 378.8 kB / 0.6562 GB, free: 8.652 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007253/0.04909, allocations: 1.027 MB / 0.6572 GB, free: 7.324 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/0.05034, allocations: 1.468 MB / 0.6586 GB, free: 5.578 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.05035, allocations: 12 kB / 0.6586 GB, free: 5.566 MB / 0.5418 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001615/0.05196, allocations: 1.524 MB / 0.6601 GB, free: 4.035 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.05198, allocations: 16 kB / 0.6602 GB, free: 4.02 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009221/0.0529, allocations: 0.7775 MB / 0.6609 GB, free: 3.238 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.836e-05/0.05293, allocations: 35.94 kB / 0.6609 GB, free: 3.203 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/0.05355, allocations: 411.2 kB / 0.6613 GB, free: 2.801 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.229e-05/0.05357, allocations: 39.86 kB / 0.6614 GB, free: 2.762 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003802/0.05395, allocations: 182.5 kB / 0.6615 GB, free: 2.582 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/0.05405, allocations: 112.3 kB / 0.6617 GB, free: 2.473 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.0004057/0.05445, allocations: 461.1 kB / 0.6621 GB, free: 2.012 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004503/0.05491, allocations: 190.7 kB / 0.6623 GB, free: 1.824 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 1.9.0-ClaRa/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.0016/0.05651, allocations: 1.665 MB / 0.6639 GB, free: 184 kB / 0.5418 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.041618727147579]