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.01053/0.01053, allocations: 1.762 MB / 20.59 MB, free: 1.297 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.001384/0.001384, allocations: 104.6 kB / 24.19 MB, free: 2.688 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.001627/0.001627, allocations: 209.8 kB / 27.92 MB, free: 4.035 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.504/1.504, allocations: 230.6 MB / 262.1 MB, free: 6.016 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.116/1.116, allocations: 130.7 MB / 449.7 MB, free: 6.605 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="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: 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.03222/0.03222, allocations: 20.78 MB / 0.6357 GB, free: 5.141 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1862/0.2184, allocations: 81.91 MB / 0.7157 GB, free: 3.137 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.4904/0.7087, allocations: 40.84 MB / 0.7556 GB, free: 23.71 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01673/0.7255, allocations: 12.49 MB / 0.7678 GB, free: 15.08 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.7269, allocations: 35.75 kB / 0.7678 GB, free: 15.06 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.002891/0.7298, allocations: 0.9507 MB / 0.7688 GB, free: 14.65 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.002103/0.7319, allocations: 0.7046 MB / 0.7695 GB, free: 14.25 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.00411/0.736, allocations: 1.314 MB / 0.7707 GB, free: 13.6 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.003283/0.7393, allocations: 1.774 MB / 0.7725 GB, free: 12.78 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.7403, allocations: 0.6044 MB / 0.7731 GB, free: 12.48 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.7416, allocations: 0.8401 MB / 0.7739 GB, free: 12.11 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001592/0.7432, allocations: 0.9802 MB / 0.7748 GB, free: 11.69 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0003141/0.7435, allocations: 140.2 kB / 0.775 GB, free: 11.69 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.7466, allocations: 1.298 MB / 0.7762 GB, free: 11.29 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0006359/0.7472, allocations: 0.5211 MB / 0.7768 GB, free: 11.03 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0008317/0.748, allocations: 0.7968 MB / 0.7775 GB, free: 10.47 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.005007/0.753, allocations: 2.899 MB / 0.7804 GB, free: 9.355 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.753, allocations: 6.656 kB / 0.7804 GB, free: 9.352 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7531, allocations: 0 / 0.7804 GB, free: 9.352 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 4.883e-05/0.7531, allocations: 1.344 kB / 0.7804 GB, free: 9.352 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.004388/0.7575, allocations: 2.279 MB / 0.7826 GB, free: 7.875 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.7575, allocations: 9.5 kB / 0.7826 GB, free: 7.875 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001896/0.7577, allocations: 134.1 kB / 0.7827 GB, free: 7.789 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007515/0.7585, allocations: 239 kB / 0.783 GB, free: 7.684 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00377/0.7622, allocations: 2.225 MB / 0.7851 GB, free: 6.211 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.619e-05/0.7623, allocations: 49.97 kB / 0.7852 GB, free: 6.191 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-05/0.7624, allocations: 61.3 kB / 0.7852 GB, free: 6.172 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/0.7649, allocations: 1.459 MB / 0.7867 GB, free: 5.004 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.765, allocations: 12.44 kB / 0.7867 GB, free: 4.996 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.858e-05/0.765, allocations: 33.19 kB / 0.7867 GB, free: 4.977 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/0.7651, allocations: 19.66 kB / 0.7867 GB, free: 4.977 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/0.7673, allocations: 0.9773 MB / 0.7877 GB, free: 4.5 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005117/0.7724, allocations: 6.814 MB / 0.7943 GB, free: 14.1 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.7747, allocations: 0.7825 MB / 0.7951 GB, free: 13.64 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004569/0.7751, allocations: 267.2 kB / 0.7954 GB, free: 13.49 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/0.7753, allocations: 50.8 kB / 0.7954 GB, free: 13.48 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001996/0.7772, allocations: 0.829 MB / 0.7962 GB, free: 12.93 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006119/0.7779, allocations: 111 kB / 0.7963 GB, free: 12.86 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=119): time 2.705e-06/0.7779, allocations: 4.562 kB / 0.7963 GB, free: 12.86 MB / 0.5763 GB Notification: Performance of matching and sorting (n=119): time 0.004711/0.7826, allocations: 1.833 MB / 0.7981 GB, free: 11.98 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002702/0.7828, allocations: 470.6 kB / 0.7986 GB, free: 11.43 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/0.7851, allocations: 1.576 MB / 0.8001 GB, free: 10.58 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 9.324e-05/0.7852, allocations: 41.88 kB / 0.8001 GB, free: 10.54 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005964/0.7858, allocations: 0.6406 MB / 0.8008 GB, free: 9.969 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003384/0.7862, allocations: 399.8 kB / 0.8011 GB, free: 9.621 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004605/0.7866, allocations: 317.8 kB / 0.8015 GB, free: 9.438 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.7867, allocations: 301.1 kB / 0.8017 GB, free: 9.141 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006866/0.7874, allocations: 403 kB / 0.8021 GB, free: 8.938 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.7885, allocations: 0.8752 MB / 0.803 GB, free: 8.098 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.7904, allocations: 1.464 MB / 0.8044 GB, free: 6.918 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.7905, allocations: 2.25 kB / 0.8044 GB, free: 6.918 MB / 0.5763 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.002765/0.7932, allocations: 1.588 MB / 0.806 GB, free: 5.551 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 7.963e-05/0.7933, allocations: 75.39 kB / 0.806 GB, free: 5.465 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001714/0.795, allocations: 1.017 MB / 0.807 GB, free: 4.441 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.061e-05/0.7951, allocations: 24 kB / 0.807 GB, free: 4.418 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009648/0.796, allocations: 342.1 kB / 0.8074 GB, free: 4.086 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.605e-05/0.7961, allocations: 33.8 kB / 0.8074 GB, free: 4.055 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008201/0.7969, allocations: 48 kB / 0.8075 GB, free: 4.008 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.797, allocations: 87.95 kB / 0.8075 GB, free: 3.922 MB / 0.5763 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.0009107/0.7979, allocations: 0.5131 MB / 0.808 GB, free: 3.387 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003411/0.7983, allocations: 193.4 kB / 0.8082 GB, free: 3.199 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 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.00253/0.8008, allocations: 1.411 MB / 0.8096 GB, free: 1.852 MB / 0.5763 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.781107047805563] Failed to read output from testmodel.py, exit status != 0: 0.9907530650962144 1.007532461 0.25088150400000003 Calling exit ...