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.01422/0.01422, allocations: 1.745 MB / 21.38 MB, free: 480 kB / 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.001577/0.001577, allocations: 96.42 kB / 24.96 MB, free: 2.059 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.002146/0.002146, allocations: 210.5 kB / 28.68 MB, free: 3.348 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.5/1.5, allocations: 230.6 MB / 262.9 MB, free: 5.828 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.129/1.129, allocations: 130.7 MB / 450.4 MB, free: 6.395 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.06718/0.06718, allocations: 20.6 MB / 0.6362 GB, free: 5.109 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1785/0.2457, allocations: 81.91 MB / 0.7162 GB, free: 3.113 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.4945/0.7401, allocations: 40.76 MB / 0.756 GB, free: 23.78 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01807/0.7582, allocations: 11.51 MB / 0.7672 GB, free: 15.91 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.7596, allocations: 42.44 kB / 0.7673 GB, free: 15.89 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.002982/0.7626, allocations: 0.9178 MB / 0.7682 GB, free: 15.47 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.7649, allocations: 0.7426 MB / 0.7689 GB, free: 15.01 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.005282/0.7702, allocations: 1.251 MB / 0.7701 GB, free: 14.38 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.004269/0.7745, allocations: 1.928 MB / 0.772 GB, free: 13.45 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.7758, allocations: 0.5741 MB / 0.7726 GB, free: 13.16 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.7774, allocations: 0.8396 MB / 0.7734 GB, free: 12.77 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00162/0.779, allocations: 0.9478 MB / 0.7743 GB, free: 12.33 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0003358/0.7793, allocations: 149.4 kB / 0.7745 GB, free: 12.33 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002671/0.782, allocations: 0.8594 MB / 0.7753 GB, free: 12.08 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.000618/0.7826, allocations: 0.506 MB / 0.7758 GB, free: 11.81 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0008575/0.7835, allocations: 0.6519 MB / 0.7764 GB, free: 11.42 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.005715/0.7892, allocations: 2.889 MB / 0.7793 GB, free: 10.29 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.7892, allocations: 0 / 0.7793 GB, free: 10.29 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7892, allocations: 0 / 0.7793 GB, free: 10.29 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 6.43e-05/0.7893, allocations: 1.969 kB / 0.7793 GB, free: 10.29 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.004815/0.7941, allocations: 2.285 MB / 0.7815 GB, free: 8.836 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.7941, allocations: 12.09 kB / 0.7815 GB, free: 8.836 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.361e-05/0.7942, allocations: 24.78 kB / 0.7815 GB, free: 8.832 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001829/0.7944, allocations: 161 kB / 0.7817 GB, free: 8.727 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009225/0.7953, allocations: 260.2 kB / 0.7819 GB, free: 8.613 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004483/0.7998, allocations: 2.216 MB / 0.7841 GB, free: 7.344 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.898e-05/0.7999, allocations: 63.16 kB / 0.7841 GB, free: 7.316 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.8, allocations: 86.25 kB / 0.7842 GB, free: 7.285 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003911/0.8039, allocations: 1.941 MB / 0.7861 GB, free: 5.641 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.181e-05/0.8039, allocations: 16.22 kB / 0.7861 GB, free: 5.629 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-05/0.804, allocations: 39.28 kB / 0.7862 GB, free: 5.605 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/0.8041, allocations: 28.16 kB / 0.7862 GB, free: 5.605 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002747/0.8068, allocations: 1.131 MB / 0.7873 GB, free: 5.059 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006335/0.8131, allocations: 8.281 MB / 0.7954 GB, free: 13.21 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002358/0.8155, allocations: 0.6909 MB / 0.7961 GB, free: 12.79 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/0.8159, allocations: 208.5 kB / 0.7963 GB, free: 12.64 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.816, allocations: 48.83 kB / 0.7963 GB, free: 12.63 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.816, allocations: 48.36 kB / 0.7964 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=122): time 4.819e-06/0.8161, allocations: 2.656 kB / 0.7964 GB, free: 12.58 MB / 0.5763 GB Notification: Performance of matching and sorting (n=122): time 0.005391/0.8214, allocations: 1.608 MB / 0.7979 GB, free: 11.84 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/0.8216, allocations: 240.1 kB / 0.7982 GB, free: 11.55 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002937/0.8245, allocations: 1.663 MB / 0.7998 GB, free: 10.66 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.8247, allocations: 35.08 kB / 0.7998 GB, free: 10.62 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007112/0.8254, allocations: 0.7504 MB / 0.8006 GB, free: 9.953 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004781/0.8259, allocations: 423 kB / 0.801 GB, free: 9.582 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005415/0.8264, allocations: 346.2 kB / 0.8013 GB, free: 9.383 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.8266, allocations: 301.1 kB / 0.8016 GB, free: 9.086 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000722/0.8273, allocations: 369.8 kB / 0.8019 GB, free: 8.902 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001301/0.8286, allocations: 1.024 MB / 0.8029 GB, free: 7.82 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002403/0.831, allocations: 1.488 MB / 0.8044 GB, free: 6.555 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.625e-05/0.831, allocations: 6.062 kB / 0.8044 GB, free: 6.555 MB / 0.5763 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.0033/0.8343, allocations: 1.517 MB / 0.8059 GB, free: 5.605 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.8343, allocations: 14.03 kB / 0.8059 GB, free: 5.594 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001534/0.8359, allocations: 0.7851 MB / 0.8066 GB, free: 4.816 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.128e-05/0.8359, allocations: 28 kB / 0.8067 GB, free: 4.789 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.8371, allocations: 407.3 kB / 0.8071 GB, free: 4.391 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-05/0.8371, allocations: 43.86 kB / 0.8071 GB, free: 4.348 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.8384, allocations: 186.5 kB / 0.8073 GB, free: 4.164 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001898/0.8386, allocations: 113.5 kB / 0.8074 GB, free: 4.062 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.001072/0.8397, allocations: 465.1 kB / 0.8078 GB, free: 3.598 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005825/0.8402, allocations: 194.6 kB / 0.808 GB, free: 3.406 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.003002/0.8432, allocations: 1.635 MB / 0.8096 GB, free: 1.859 MB / 0.5763 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.930915546952747] Failed to read output from testmodel.py, exit status != 0: 1.05243409704417 1.068912681 0.276281317 Calling exit ...