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.007897/0.007897, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0009278/0.0009278, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.0008672/0.0008672, allocations: 163.6 kB / 27.85 MB, free: 5.5 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.8483/0.8483, allocations: 177.2 MB / 208.6 MB, free: 2.949 MB / 186.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.7101/0.7101, allocations: 102.5 MB / 367.9 MB, free: 1.488 MB / 330.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 SMArtInt with version 0.5.2 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Sensors.Check.TestVLESensors,fileNamePrefix="ClaRa_ClaRa_Components_Sensors_Check_TestVLESensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.5362 GB, free: 40.08 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.779e-05, allocations: 5.344 kB / 0.5362 GB, free: 40.08 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.1075/0.1075, allocations: 53.85 MB / 0.5888 GB, free: 6.699 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.009364/0.1169, allocations: 11.61 MB / 0.6001 GB, free: 11.05 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003845/0.1173, allocations: 39.75 kB / 0.6001 GB, free: 11.01 MB / 0.4949 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.00153/0.1188, allocations: 0.9287 MB / 0.6011 GB, free: 10.07 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.0007231/0.1195, allocations: 0.7221 MB / 0.6018 GB, free: 9.348 MB / 0.4949 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.1209, allocations: 1.335 MB / 0.6031 GB, free: 8.008 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.001071/0.122, allocations: 1.822 MB / 0.6048 GB, free: 6.18 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005474/0.1225, allocations: 0.6653 MB / 0.6055 GB, free: 5.488 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008048/0.1233, allocations: 1.111 MB / 0.6066 GB, free: 4.375 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006535/0.124, allocations: 0.8085 MB / 0.6074 GB, free: 3.566 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.1241, allocations: 136 kB / 0.6075 GB, free: 3.434 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009269/0.125, allocations: 0.9938 MB / 0.6085 GB, free: 2.438 MB / 0.4949 GB Notification: Performance of NFScalarize.scalarize: time 0.0002955/0.1253, allocations: 0.5334 MB / 0.609 GB, free: 1.902 MB / 0.4949 GB Notification: Performance of NFVerifyModel.verify: time 0.0003102/0.1256, allocations: 482.6 kB / 0.6095 GB, free: 1.43 MB / 0.4949 GB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.1275, allocations: 2.831 MB / 0.6122 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1275, allocations: 0 / 0.6122 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1275, allocations: 7.938 kB / 0.6122 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.1276, allocations: 0 / 0.6122 GB, free: 14.58 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.002131/0.1297, allocations: 2.258 MB / 0.6144 GB, free: 12.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1297, allocations: 15.97 kB / 0.6144 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.1299, allocations: 136.7 kB / 0.6146 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003944/0.1303, allocations: 243.6 kB / 0.6148 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002305/0.1326, allocations: 2.21 MB / 0.617 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.629e-05/0.1326, allocations: 45.69 kB / 0.617 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/0.1327, allocations: 56.38 kB / 0.6171 GB, free: 9.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.1344, allocations: 1.927 MB / 0.6189 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.1345, allocations: 11.88 kB / 0.619 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.541e-05/0.1345, allocations: 32 kB / 0.619 GB, free: 7.207 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.1345, allocations: 23.98 kB / 0.619 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001424/0.1359, allocations: 1.025 MB / 0.62 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0032/0.1391, allocations: 6.581 MB / 0.6264 GB, free: 15.29 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.1404, allocations: 0.84 MB / 0.6273 GB, free: 14.4 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.1407, allocations: 329.6 kB / 0.6276 GB, free: 14.05 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.285e-05/0.1408, allocations: 55.67 kB / 0.6276 GB, free: 14 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001126/0.1419, allocations: 0.8935 MB / 0.6285 GB, free: 13.03 MB / 0.5262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002222/0.1421, allocations: 115.1 kB / 0.6286 GB, free: 12.92 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=119): time 1.983e-06/0.1421, allocations: 0 / 0.6286 GB, free: 12.92 MB / 0.5262 GB Notification: Performance of matching and sorting (n=119): time 0.002635/0.1448, allocations: 1.955 MB / 0.6305 GB, free: 10.92 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.1449, allocations: 461.1 kB / 0.631 GB, free: 10.36 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.1462, allocations: 1.605 MB / 0.6325 GB, free: 8.754 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 4.187e-05/0.1462, allocations: 33.7 kB / 0.6326 GB, free: 8.715 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000342/0.1465, allocations: 0.6389 MB / 0.6332 GB, free: 8.07 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.1467, allocations: 396.5 kB / 0.6336 GB, free: 7.68 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003284/0.1471, allocations: 310.1 kB / 0.6339 GB, free: 7.371 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.752e-05/0.1471, allocations: 309 kB / 0.6341 GB, free: 7.066 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004493/0.1476, allocations: 466.2 kB / 0.6346 GB, free: 6.594 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006813/0.1483, allocations: 1.044 MB / 0.6356 GB, free: 5.297 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.1494, allocations: 1.479 MB / 0.6371 GB, free: 3.59 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.1494, allocations: 4 kB / 0.6371 GB, free: 3.586 MB / 0.5262 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.001572/0.151, allocations: 1.671 MB / 0.6387 GB, free: 1.883 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 5.292e-05/0.1511, allocations: 83.38 kB / 0.6388 GB, free: 1.789 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001041/0.1521, allocations: 1.087 MB / 0.6398 GB, free: 0.6758 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.1521, allocations: 24 kB / 0.6399 GB, free: 0.6523 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/0.1527, allocations: 343.4 kB / 0.6402 GB, free: 324 kB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.1527, allocations: 27.92 kB / 0.6402 GB, free: 296 kB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.1532, allocations: 47.94 kB / 0.6403 GB, free: 248 kB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.522e-05/0.1533, allocations: 87.95 kB / 0.6403 GB, free: 160 kB / 0.5262 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.000451/0.1537, allocations: 0.5253 MB / 0.6409 GB, free: 15.61 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.1539, allocations: 182.8 kB / 0.641 GB, free: 15.43 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.001393/0.1553, allocations: 1.419 MB / 0.6424 GB, free: 13.98 MB / 0.5418 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 2.9791979864239693] Failed to read output from testmodel.py, exit status != 0: 0.33172811288386583 0.34053689000000004 0.21120118200000002 Calling exit ...