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.009254/0.009254, allocations: 1.761 MB / 20.61 MB, free: 3.863 MB / 13.93 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.08281/0.08281, allocations: 25.61 MB / 49.71 MB, free: 2.922 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.0008651/0.0008651, allocations: 118.1 kB / 60.65 MB, free: 3.02 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.001085/0.001085, allocations: 222.7 kB / 71.73 MB, free: 6.473 MB / 44.04 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.9499/0.9499, allocations: 230.6 MB / 313.3 MB, free: 11.78 MB / 234.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.7578/0.7578, allocations: 130.7 MB / 0.4963 GB, free: 2.188 MB / 362.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 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: SMArtInt 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: 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: 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: Performance of FrontEnd - loaded program: time 0.003016/0.003016, allocations: 153.5 kB / 0.69 GB, free: 47.07 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1282, allocations: 89.27 MB / 0.7772 GB, free: 3.008 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.BoundaryConditions.Check.TestPrescribedHeatFlow): time 0.006747/0.1349, allocations: 7.777 MB / 0.7848 GB, free: 11.19 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.1465, allocations: 11.52 MB / 0.7961 GB, free: 15.62 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000982/0.1475, allocations: 43.69 kB / 0.7961 GB, free: 15.58 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.1498, allocations: 0.9116 MB / 0.797 GB, free: 14.67 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001838/0.1516, allocations: 0.734 MB / 0.7977 GB, free: 13.93 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.1538, allocations: 1.254 MB / 0.7989 GB, free: 12.68 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.002185/0.156, allocations: 1.934 MB / 0.8008 GB, free: 10.73 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000862/0.1569, allocations: 0.6234 MB / 0.8014 GB, free: 10.09 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.158, allocations: 0.8325 MB / 0.8022 GB, free: 9.25 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.1591, allocations: 0.8902 MB / 0.8031 GB, free: 8.355 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0003008/0.1594, allocations: 152 kB / 0.8033 GB, free: 8.207 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.1612, allocations: 0.8538 MB / 0.8041 GB, free: 7.352 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003824/0.1616, allocations: 0.502 MB / 0.8046 GB, free: 6.848 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006358/0.1622, allocations: 0.6563 MB / 0.8052 GB, free: 6.188 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003085/0.1653, allocations: 2.876 MB / 0.808 GB, free: 3.301 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1653, allocations: 4 kB / 0.808 GB, free: 3.297 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.254e-06/0.1653, allocations: 7.938 kB / 0.808 GB, free: 3.289 MB / 0.573 GB Notification: Performance of Transformations before backend: time 7.624e-05/0.1654, allocations: 0 / 0.808 GB, free: 3.289 MB / 0.573 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.003089/0.1684, allocations: 2.283 MB / 0.8103 GB, free: 0.9648 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.1685, allocations: 8.031 kB / 0.8103 GB, free: 0.957 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001669/0.1687, allocations: 169.5 kB / 0.8104 GB, free: 0.7812 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005419/0.1692, allocations: 255.5 kB / 0.8107 GB, free: 0.5312 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003016/0.1722, allocations: 2.212 MB / 0.8128 GB, free: 14.29 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.1723, allocations: 58.38 kB / 0.8129 GB, free: 14.23 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.555e-05/0.1723, allocations: 88.38 kB / 0.813 GB, free: 14.14 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/0.1747, allocations: 1.946 MB / 0.8149 GB, free: 11.87 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.1747, allocations: 7.938 kB / 0.8149 GB, free: 11.86 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.878e-05/0.1748, allocations: 40 kB / 0.8149 GB, free: 11.82 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.1748, allocations: 31.98 kB / 0.815 GB, free: 11.79 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.1766, allocations: 1.128 MB / 0.8161 GB, free: 10.66 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005029/0.1816, allocations: 8.297 MB / 0.8242 GB, free: 2.02 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001372/0.183, allocations: 0.6885 MB / 0.8248 GB, free: 1.273 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/0.1835, allocations: 215.3 kB / 0.825 GB, free: 1.047 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.048e-05/0.1836, allocations: 48.2 kB / 0.8251 GB, free: 1 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.1836, allocations: 54.61 kB / 0.8251 GB, free: 0.9375 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=122): time 3.517e-06/0.1836, allocations: 0 / 0.8251 GB, free: 0.9375 MB / 0.5887 GB Notification: Performance of matching and sorting (n=122): time 0.003113/0.1867, allocations: 1.607 MB / 0.8267 GB, free: 15.32 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.239e-05/0.1868, allocations: 239.5 kB / 0.8269 GB, free: 15.04 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.1885, allocations: 1.703 MB / 0.8286 GB, free: 13.33 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 5.431e-05/0.1885, allocations: 33.7 kB / 0.8286 GB, free: 13.29 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/0.1889, allocations: 0.7402 MB / 0.8294 GB, free: 12.55 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.1892, allocations: 428.2 kB / 0.8298 GB, free: 12.12 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/0.1895, allocations: 342.1 kB / 0.8301 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.32e-05/0.1895, allocations: 301.1 kB / 0.8304 GB, free: 11.49 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000455/0.19, allocations: 370.8 kB / 0.8307 GB, free: 11.13 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009995/0.191, allocations: 1.027 MB / 0.8317 GB, free: 9.801 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.1923, allocations: 1.475 MB / 0.8332 GB, free: 8.047 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.1923, allocations: 8 kB / 0.8332 GB, free: 8.039 MB / 0.6043 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001804/0.1941, allocations: 1.511 MB / 0.8347 GB, free: 6.52 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/0.1941, allocations: 20.91 kB / 0.8347 GB, free: 6.5 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009408/0.1951, allocations: 0.7751 MB / 0.8354 GB, free: 5.727 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.736e-05/0.1951, allocations: 32 kB / 0.8355 GB, free: 5.695 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/0.1957, allocations: 407.3 kB / 0.8359 GB, free: 5.297 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.773e-05/0.1958, allocations: 43.86 kB / 0.8359 GB, free: 5.254 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005484/0.1963, allocations: 186.5 kB / 0.8361 GB, free: 5.07 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.1964, allocations: 107.9 kB / 0.8362 GB, free: 4.965 MB / 0.6043 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.0005405/0.197, allocations: 469 kB / 0.8366 GB, free: 4.496 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.1972, allocations: 190.6 kB / 0.8368 GB, free: 4.309 MB / 0.6043 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.00182/0.199, allocations: 1.666 MB / 0.8384 GB, free: 2.672 MB / 0.6043 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.1056114807724953]