Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.008356/0.008356, allocations: 1.787 MB / 20.88 MB, free: 3.648 MB / 18.57 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.004119/0.004119, allocations: 84.39 kB / 24.59 MB, free: 7.207 MB / 18.57 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.0009802/0.0009802, allocations: 170.9 kB / 28.4 MB, free: 4.316 MB / 18.57 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.8281/0.8281, allocations: 177.2 MB / 209.3 MB, free: 2.535 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.6914/0.6914, allocations: 102.4 MB / 368.7 MB, free: 1.004 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.Sensors.Check.TestVLESensors,fileNamePrefix="ClaRa_dev_ClaRa_Components_Sensors_Check_TestVLESensors",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Sensors.Check.TestVLESensors,fileNamePrefix="ClaRa_dev_ClaRa_Components_Sensors_Check_TestVLESensors",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.5378 GB, free: 39.09 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.125e-06/9.387e-06, allocations: 2.281 kB / 0.5378 GB, free: 39.09 MB / 490.8 MB 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.1033/0.1033, allocations: 62.53 MB / 0.5989 GB, free: 12.67 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.009512/0.1128, allocations: 11.62 MB / 0.6102 GB, free: 1.012 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003357/0.1131, allocations: 35.75 kB / 0.6103 GB, free: 0.9766 MB / 0.4949 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.00151/0.1146, allocations: 0.9326 MB / 0.6112 GB, free: 40 kB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0006988/0.1153, allocations: 0.7105 MB / 0.6119 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.1168, allocations: 1.347 MB / 0.6132 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.1178, allocations: 1.822 MB / 0.615 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005332/0.1183, allocations: 0.6888 MB / 0.6156 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006958/0.119, allocations: 1.107 MB / 0.6167 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007087/0.1198, allocations: 0.8079 MB / 0.6175 GB, free: 9.516 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.1199, allocations: 140 kB / 0.6176 GB, free: 9.379 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008881/0.1208, allocations: 0.9822 MB / 0.6186 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.1211, allocations: 0.541 MB / 0.6191 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003215/0.1214, allocations: 482.6 kB / 0.6196 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.1232, allocations: 2.827 MB / 0.6224 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1232, allocations: 4 kB / 0.6224 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.023e-06/0.1232, allocations: 0 / 0.6224 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.1232, allocations: 0 / 0.6224 GB, free: 4.539 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002158/0.1254, allocations: 2.27 MB / 0.6246 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1254, allocations: 16.03 kB / 0.6246 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001438/0.1256, allocations: 132.8 kB / 0.6247 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004005/0.126, allocations: 243.6 kB / 0.625 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.1282, allocations: 2.209 MB / 0.6271 GB, free: 15.57 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.1282, allocations: 49.69 kB / 0.6272 GB, free: 15.52 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.668e-05/0.1283, allocations: 60.38 kB / 0.6272 GB, free: 15.46 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/0.13, allocations: 1.929 MB / 0.6291 GB, free: 13.2 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.1301, allocations: 11.88 kB / 0.6291 GB, free: 13.18 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.462e-05/0.1301, allocations: 35.94 kB / 0.6291 GB, free: 13.15 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.1301, allocations: 23.98 kB / 0.6292 GB, free: 13.12 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.1315, allocations: 1.025 MB / 0.6302 GB, free: 12.09 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/0.1348, allocations: 6.573 MB / 0.6366 GB, free: 5.242 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.1361, allocations: 0.8335 MB / 0.6374 GB, free: 4.352 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.1364, allocations: 337.6 kB / 0.6377 GB, free: 3.996 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.932e-05/0.1365, allocations: 51.73 kB / 0.6378 GB, free: 3.945 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00121/0.1377, allocations: 0.8974 MB / 0.6386 GB, free: 2.977 MB / 0.5262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002107/0.1379, allocations: 107.2 kB / 0.6388 GB, free: 2.871 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=119): time 1.783e-06/0.1379, allocations: 0 / 0.6388 GB, free: 2.871 MB / 0.5262 GB Notification: Performance of matching and sorting (n=119): time 0.002692/0.1406, allocations: 1.955 MB / 0.6407 GB, free: 0.875 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.1407, allocations: 468.8 kB / 0.6411 GB, free: 320 kB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.1419, allocations: 1.601 MB / 0.6427 GB, free: 14.71 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.142, allocations: 37.7 kB / 0.6427 GB, free: 14.66 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.1423, allocations: 0.6311 MB / 0.6433 GB, free: 14.03 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.1425, allocations: 400.5 kB / 0.6437 GB, free: 13.63 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002522/0.1427, allocations: 306.1 kB / 0.644 GB, free: 13.33 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 5.762e-05/0.1428, allocations: 301.1 kB / 0.6443 GB, free: 13.03 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.1433, allocations: 470.2 kB / 0.6447 GB, free: 12.55 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007376/0.144, allocations: 1.04 MB / 0.6457 GB, free: 11.26 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00118/0.1452, allocations: 1.488 MB / 0.6472 GB, free: 9.543 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.1452, allocations: 4 kB / 0.6472 GB, free: 9.539 MB / 0.5418 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.00156/0.1467, allocations: 1.667 MB / 0.6488 GB, free: 7.844 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/0.1468, allocations: 79.38 kB / 0.6489 GB, free: 7.754 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001071/0.1479, allocations: 1.079 MB / 0.65 GB, free: 6.645 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.1479, allocations: 24 kB / 0.65 GB, free: 6.621 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/0.1484, allocations: 343.4 kB / 0.6503 GB, free: 6.285 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/0.1484, allocations: 39.73 kB / 0.6504 GB, free: 6.246 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.1487, allocations: 55.89 kB / 0.6504 GB, free: 6.191 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.718e-05/0.1488, allocations: 84.48 kB / 0.6505 GB, free: 6.109 MB / 0.5418 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 (176): * Single equations (assignments): 174 * 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.0004249/0.1493, allocations: 0.5174 MB / 0.651 GB, free: 5.57 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.1494, allocations: 186.8 kB / 0.6512 GB, free: 5.387 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 166 equation(s) and 157 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) = ($cse1, $cse2, $cse3, $cse4, $cse5, $cse6, $cse7, $cse8, $cse9, $cse10) 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.001412/0.1508, allocations: 1.431 MB / 0.6526 GB, free: 3.918 MB / 0.5418 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 2.778190951794386]