Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.Sensors.Check.TestVLESensors.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.01054/0.01054, allocations: 1.745 MB / 21.38 MB, free: 464 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.001306/0.001306, allocations: 104.4 kB / 24.97 MB, free: 2.035 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.00168/0.00168, allocations: 210.6 kB / 28.68 MB, free: 3.324 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.444/1.444, allocations: 230.6 MB / 262.9 MB, free: 5.988 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.105/1.105, allocations: 130.7 MB / 450.4 MB, free: 6.406 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.Sensors.Check.TestVLESensors,fileNamePrefix="ClaRa_ClaRa_Components_Sensors_Check_TestVLESensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Sensors.Check.TestVLESensors,fileNamePrefix="ClaRa_ClaRa_Components_Sensors_Check_TestVLESensors",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.06316/0.06316, allocations: 20.6 MB / 0.6362 GB, free: 5.09 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.2182, allocations: 81.91 MB / 0.7162 GB, free: 3.086 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.Sensors.Check.TestVLESensors): time 0.4827/0.7008, allocations: 40.19 MB / 0.7555 GB, free: 24.07 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01825/0.7191, allocations: 11.82 MB / 0.767 GB, free: 16.11 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.721, allocations: 39.84 kB / 0.7671 GB, free: 16.09 MB / 0.5607 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.003405/0.7244, allocations: 0.9189 MB / 0.7679 GB, free: 15.7 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.002866/0.7273, allocations: 0.701 MB / 0.7686 GB, free: 15.3 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.00477/0.7321, allocations: 1.318 MB / 0.7699 GB, free: 14.65 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.00421/0.7363, allocations: 1.776 MB / 0.7717 GB, free: 13.83 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.7376, allocations: 0.6098 MB / 0.7723 GB, free: 13.54 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001822/0.7394, allocations: 0.8436 MB / 0.7731 GB, free: 13.16 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.7415, allocations: 0.9733 MB / 0.774 GB, free: 12.74 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0005533/0.7421, allocations: 143.2 kB / 0.7742 GB, free: 12.74 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/0.7455, allocations: 0.9998 MB / 0.7751 GB, free: 12.45 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.000994/0.7465, allocations: 0.5204 MB / 0.7756 GB, free: 12.19 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001182/0.7477, allocations: 0.6038 MB / 0.7762 GB, free: 11.83 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.006062/0.7537, allocations: 2.831 MB / 0.779 GB, free: 10.75 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.912e-06/0.7537, allocations: 1.875 kB / 0.779 GB, free: 10.75 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7537, allocations: 0 / 0.779 GB, free: 10.75 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 6.584e-05/0.7538, allocations: 0 / 0.779 GB, free: 10.75 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.004858/0.7587, allocations: 2.282 MB / 0.7812 GB, free: 9.273 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.7587, allocations: 9.578 kB / 0.7812 GB, free: 9.273 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.837e-05/0.7588, allocations: 24.61 kB / 0.7813 GB, free: 9.27 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002008/0.759, allocations: 138.4 kB / 0.7814 GB, free: 9.176 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009935/0.76, allocations: 243.8 kB / 0.7816 GB, free: 9.066 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004521/0.7645, allocations: 2.231 MB / 0.7838 GB, free: 7.703 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.928e-05/0.7646, allocations: 51.56 kB / 0.7839 GB, free: 7.68 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.7647, allocations: 55.84 kB / 0.7839 GB, free: 7.664 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003314/0.768, allocations: 1.931 MB / 0.7858 GB, free: 5.918 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.768, allocations: 16.3 kB / 0.7858 GB, free: 5.906 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.237e-05/0.7681, allocations: 34.09 kB / 0.7858 GB, free: 5.887 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.62e-05/0.7682, allocations: 20.09 kB / 0.7859 GB, free: 5.887 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002705/0.7709, allocations: 1.038 MB / 0.7869 GB, free: 5.348 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006689/0.7776, allocations: 6.689 MB / 0.7934 GB, free: 15.11 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/0.7801, allocations: 0.8591 MB / 0.7942 GB, free: 14.58 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005647/0.7806, allocations: 348.3 kB / 0.7946 GB, free: 14.35 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/0.7808, allocations: 50.78 kB / 0.7946 GB, free: 14.34 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002316/0.7831, allocations: 0.9064 MB / 0.7955 GB, free: 13.71 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008453/0.784, allocations: 112.5 kB / 0.7956 GB, free: 13.64 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=125): time 4.449e-06/0.784, allocations: 3.094 kB / 0.7956 GB, free: 13.64 MB / 0.5763 GB Notification: Performance of matching and sorting (n=134): time 0.01153/0.7955, allocations: 5.697 MB / 0.8012 GB, free: 9.965 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002837/0.7958, allocations: 463.5 kB / 0.8016 GB, free: 9.422 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002567/0.7984, allocations: 1.573 MB / 0.8032 GB, free: 8.582 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0001789/0.7985, allocations: 37.42 kB / 0.8032 GB, free: 8.543 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005872/0.7991, allocations: 0.6419 MB / 0.8038 GB, free: 7.973 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.000482/0.7996, allocations: 450.5 kB / 0.8043 GB, free: 7.578 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005666/0.8002, allocations: 345.6 kB / 0.8046 GB, free: 7.25 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.8003, allocations: 301.1 kB / 0.8049 GB, free: 6.953 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009525/0.8013, allocations: 0.5024 MB / 0.8054 GB, free: 6.438 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.8027, allocations: 1.088 MB / 0.8064 GB, free: 5.098 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/0.805, allocations: 1.581 MB / 0.808 GB, free: 3.309 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.805, allocations: 7.938 kB / 0.808 GB, free: 3.301 MB / 0.5763 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.003435/0.8085, allocations: 1.784 MB / 0.8097 GB, free: 1.5 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 8.721e-05/0.8086, allocations: 82.97 kB / 0.8098 GB, free: 1.41 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002159/0.8107, allocations: 1.207 MB / 0.811 GB, free: 184 kB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.154e-05/0.8108, allocations: 24 kB / 0.811 GB, free: 160 kB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.812, allocations: 371.4 kB / 0.8114 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.031e-05/0.812, allocations: 39.8 kB / 0.8114 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.8131, allocations: 58.64 kB / 0.8114 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/0.8133, allocations: 91.95 kB / 0.8115 GB, free: 15.61 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 14 (timeTable1.nextEventScaled,timeTable1.nextEvent,$PRE.timeTable1.nextEvent,timeTable1.last,timeTable1.b,timeTable1.a,timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 2 * 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.001054/0.8144, allocations: 0.5295 MB / 0.8121 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004502/0.8148, allocations: 186.7 kB / 0.8122 GB, free: 14.88 MB / 0.5919 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 183 equation(s) and 174 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (temperature.fluid.q, temperature.fluid.cp, temperature.fluid.cv, temperature.fluid.beta, temperature.fluid.kappa, temperature.fluid.drhodp_hxi, temperature.fluid.drhodh_pxi, _, temperature.fluid.w, temperature.fluid.gamma) = ($cse3, $cse4, $cse5, $cse6, $cse7, $cse8, $cse9, $cse10, $cse11, $cse12) has size 9 but 7 variables ($whenCondition1, timeTable.a, timeTable.b, timeTable.last, timeTable.nextEvent, timeTable.nextEventScaled, timeTable.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00303/0.8178, allocations: 1.517 MB / 0.8137 GB, free: 13.42 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.745495246024802] Failed to read output from testmodel.py, exit status != 0: 1.0125118979485705 1.030013504 0.272572093 Calling exit ...