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.0137/0.0137, allocations: 1.752 MB / 21.38 MB, free: 0.5625 MB / 14.72 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.001458/0.001458, allocations: 101.2 kB / 24.97 MB, free: 2.16 MB / 14.72 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.001537/0.001537, allocations: 207.2 kB / 28.71 MB, free: 3.441 MB / 19.63 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 1.415/1.415, allocations: 230.6 MB / 262.9 MB, free: 6.008 MB / 206.1 MB " [Timeout remaining time 178] 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 1.096/1.096, allocations: 130.7 MB / 450.5 MB, free: 6.582 MB / 350.1 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.3.1 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.BoundaryConditions.Check.TestPrescribedHeatFlow,fileNamePrefix="ClaRa_ClaRa_Components_BoundaryConditions_Check_TestPrescribedHeatFlow",fmuType="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: 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: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.03265/0.03265, allocations: 20.6 MB / 0.6363 GB, free: 5.332 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.2115, allocations: 81.91 MB / 0.7163 GB, free: 3.324 MB / 0.5294 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.5532/0.7647, allocations: 41.51 MB / 0.7568 GB, free: 23.29 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01802/0.7828, allocations: 12.12 MB / 0.7687 GB, free: 14.84 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/0.7847, allocations: 45.09 kB / 0.7687 GB, free: 14.82 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.003287/0.788, allocations: 0.9538 MB / 0.7697 GB, free: 14.37 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0027/0.7907, allocations: 0.7352 MB / 0.7704 GB, free: 13.91 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004628/0.7953, allocations: 1.256 MB / 0.7716 GB, free: 13.27 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.004389/0.7997, allocations: 1.922 MB / 0.7735 GB, free: 12.35 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.801, allocations: 0.5801 MB / 0.774 GB, free: 12.06 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.8025, allocations: 0.8341 MB / 0.7749 GB, free: 11.67 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.8039, allocations: 0.9424 MB / 0.7758 GB, free: 11.23 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0002308/0.8041, allocations: 154.1 kB / 0.7759 GB, free: 11.23 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003065/0.8072, allocations: 1.162 MB / 0.7771 GB, free: 10.87 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.000605/0.8078, allocations: 0.5105 MB / 0.7776 GB, free: 10.6 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0009261/0.8087, allocations: 0.8572 MB / 0.7784 GB, free: 10 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.006149/0.8148, allocations: 2.952 MB / 0.7813 GB, free: 8.832 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.8148, allocations: 0 / 0.7813 GB, free: 8.832 MB / 0.5607 GB Notification: Performance of FrontEnd: time 3.407e-06/0.8148, allocations: 1 kB / 0.7813 GB, free: 8.832 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 4.52e-05/0.8149, allocations: 0 / 0.7813 GB, free: 8.832 MB / 0.5607 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.004305/0.8192, allocations: 2.283 MB / 0.7835 GB, free: 7.387 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.8192, allocations: 10.38 kB / 0.7835 GB, free: 7.387 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.889e-05/0.8193, allocations: 29.3 kB / 0.7835 GB, free: 7.379 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.8195, allocations: 162.5 kB / 0.7837 GB, free: 7.273 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008401/0.8203, allocations: 255 kB / 0.7839 GB, free: 7.16 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003862/0.8242, allocations: 2.225 MB / 0.7861 GB, free: 5.781 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.917e-05/0.8242, allocations: 64.69 kB / 0.7862 GB, free: 5.754 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.8243, allocations: 80.59 kB / 0.7863 GB, free: 5.727 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005313/0.8296, allocations: 1.735 MB / 0.788 GB, free: 4.336 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.436e-05/0.8297, allocations: 12.53 kB / 0.788 GB, free: 4.328 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.8298, allocations: 45.88 kB / 0.788 GB, free: 4.301 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.933e-05/0.8299, allocations: 34.95 kB / 0.788 GB, free: 4.297 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004375/0.8342, allocations: 1.126 MB / 0.7891 GB, free: 3.754 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007287/0.8415, allocations: 8.71 MB / 0.7976 GB, free: 11.42 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/0.8438, allocations: 0.6923 MB / 0.7983 GB, free: 11 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.8442, allocations: 212.5 kB / 0.7985 GB, free: 10.86 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.8443, allocations: 51.78 kB / 0.7986 GB, free: 10.84 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/0.8444, allocations: 52.86 kB / 0.7986 GB, free: 10.79 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=122): time 3.707e-06/0.8444, allocations: 0 / 0.7986 GB, free: 10.79 MB / 0.5763 GB Notification: Performance of matching and sorting (n=122): time 0.005471/0.8499, allocations: 1.609 MB / 0.8002 GB, free: 10.04 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000169/0.85, allocations: 243.3 kB / 0.8004 GB, free: 9.758 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002704/0.8527, allocations: 1.665 MB / 0.8021 GB, free: 8.867 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.8528, allocations: 31.02 kB / 0.8021 GB, free: 8.832 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007126/0.8536, allocations: 0.743 MB / 0.8028 GB, free: 8.168 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004635/0.854, allocations: 426.8 kB / 0.8032 GB, free: 7.793 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005986/0.8546, allocations: 342.8 kB / 0.8035 GB, free: 7.594 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.8547, allocations: 304.9 kB / 0.8038 GB, free: 7.297 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006782/0.8554, allocations: 369.8 kB / 0.8042 GB, free: 7.113 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.8566, allocations: 0.976 MB / 0.8051 GB, free: 6.094 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.8586, allocations: 1.477 MB / 0.8066 GB, free: 4.836 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.8586, allocations: 6.438 kB / 0.8066 GB, free: 4.836 MB / 0.5763 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003025/0.8617, allocations: 1.52 MB / 0.8081 GB, free: 3.957 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/0.8617, allocations: 12 kB / 0.8081 GB, free: 3.945 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001472/0.8632, allocations: 0.7745 MB / 0.8088 GB, free: 3.176 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.916e-05/0.8632, allocations: 42.14 kB / 0.8089 GB, free: 3.141 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.8643, allocations: 407.3 kB / 0.8093 GB, free: 2.742 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.221e-05/0.8643, allocations: 47.73 kB / 0.8093 GB, free: 2.695 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.8654, allocations: 182.5 kB / 0.8095 GB, free: 2.516 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.8656, allocations: 107.9 kB / 0.8096 GB, free: 2.41 MB / 0.5763 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.0009688/0.8666, allocations: 461.1 kB / 0.81 GB, free: 1.949 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004738/0.8671, allocations: 197.3 kB / 0.8102 GB, free: 1.758 MB / 0.5763 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.002885/0.8699, allocations: 1.64 MB / 0.8118 GB, free: 216 kB / 0.5763 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.856725921970792] Failed to read output from testmodel.py, exit status != 0: 1.0970819650683552 1.113858205 0.295805567 Calling exit ...