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.01051/0.01051, allocations: 1.756 MB / 21.38 MB, free: 0.5547 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.001406/0.001406, allocations: 104.6 kB / 24.98 MB, free: 2.152 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.001679/0.001679, allocations: 216 kB / 28.71 MB, free: 3.43 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.462/1.462, allocations: 230.6 MB / 262.9 MB, free: 6.02 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.055/1.055, allocations: 130.7 MB / 450.5 MB, free: 6.59 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.03527/0.03527, allocations: 20.61 MB / 0.6363 GB, free: 5.332 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.2144, allocations: 81.89 MB / 0.7163 GB, free: 3.344 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.519/0.7334, allocations: 40.85 MB / 0.7562 GB, free: 23.79 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.01603/0.7495, allocations: 12.48 MB / 0.7684 GB, free: 15.18 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002114/0.7516, allocations: 36.62 kB / 0.7684 GB, free: 15.17 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.003384/0.755, allocations: 0.9458 MB / 0.7694 GB, free: 14.76 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.002372/0.7573, allocations: 0.7047 MB / 0.77 GB, free: 14.35 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.004412/0.7617, allocations: 1.324 MB / 0.7713 GB, free: 13.7 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.003451/0.7652, allocations: 1.771 MB / 0.7731 GB, free: 12.89 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/0.7662, allocations: 0.6116 MB / 0.7737 GB, free: 12.58 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.7676, allocations: 0.8297 MB / 0.7745 GB, free: 12.22 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001477/0.7691, allocations: 0.9834 MB / 0.7754 GB, free: 11.79 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.7694, allocations: 139.3 kB / 0.7756 GB, free: 11.79 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002982/0.7723, allocations: 1.299 MB / 0.7768 GB, free: 11.39 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.000563/0.7729, allocations: 0.5257 MB / 0.7773 GB, free: 11.13 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.0007052/0.7736, allocations: 0.7889 MB / 0.7781 GB, free: 10.58 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.006087/0.7797, allocations: 2.905 MB / 0.781 GB, free: 9.461 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.7797, allocations: 1.062 kB / 0.781 GB, free: 9.461 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7797, allocations: 0 / 0.781 GB, free: 9.461 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 3.241e-05/0.7797, allocations: 0 / 0.781 GB, free: 9.461 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.00429/0.784, allocations: 2.281 MB / 0.7832 GB, free: 7.984 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.7841, allocations: 9.594 kB / 0.7832 GB, free: 7.984 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.836e-05/0.7841, allocations: 22.78 kB / 0.7832 GB, free: 7.98 MB / 0.5607 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/0.7843, allocations: 142 kB / 0.7834 GB, free: 7.887 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007929/0.7851, allocations: 244 kB / 0.7836 GB, free: 7.777 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003822/0.7889, allocations: 2.225 MB / 0.7858 GB, free: 6.309 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/0.789, allocations: 51.16 kB / 0.7858 GB, free: 6.285 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.7891, allocations: 60.75 kB / 0.7859 GB, free: 6.266 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/0.7918, allocations: 1.464 MB / 0.7873 GB, free: 5.09 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.7918, allocations: 12.67 kB / 0.7873 GB, free: 5.082 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.136e-05/0.7919, allocations: 32.72 kB / 0.7873 GB, free: 5.062 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.7919, allocations: 20.81 kB / 0.7874 GB, free: 5.062 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/0.7942, allocations: 0.9835 MB / 0.7883 GB, free: 4.59 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005848/0.8001, allocations: 6.898 MB / 0.7951 GB, free: 14.13 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/0.8026, allocations: 0.8058 MB / 0.7958 GB, free: 13.67 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005235/0.8031, allocations: 288.4 kB / 0.7961 GB, free: 13.51 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/0.8033, allocations: 54.88 kB / 0.7962 GB, free: 13.49 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002181/0.8055, allocations: 0.8467 MB / 0.797 GB, free: 12.94 MB / 0.5763 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008795/0.8063, allocations: 114.7 kB / 0.7971 GB, free: 12.86 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=125): time 2.875e-06/0.8063, allocations: 0 / 0.7971 GB, free: 12.86 MB / 0.5763 GB Notification: Performance of matching and sorting (n=134): time 0.01265/0.819, allocations: 5.539 MB / 0.8025 GB, free: 9.352 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002754/0.8193, allocations: 463.9 kB / 0.803 GB, free: 8.809 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003477/0.8227, allocations: 1.569 MB / 0.8045 GB, free: 7.973 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0002036/0.8229, allocations: 40.48 kB / 0.8045 GB, free: 7.934 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008152/0.8238, allocations: 0.6433 MB / 0.8052 GB, free: 7.359 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005627/0.8243, allocations: 448.7 kB / 0.8056 GB, free: 6.969 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006172/0.8249, allocations: 338.9 kB / 0.8059 GB, free: 6.738 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.8251, allocations: 303.8 kB / 0.8062 GB, free: 6.441 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008708/0.8259, allocations: 455.1 kB / 0.8066 GB, free: 5.996 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.8273, allocations: 0.9258 MB / 0.8075 GB, free: 4.871 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002457/0.8297, allocations: 1.576 MB / 0.8091 GB, free: 3.102 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-05/0.8298, allocations: 13.62 kB / 0.8091 GB, free: 3.09 MB / 0.5763 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.00343/0.8332, allocations: 1.707 MB / 0.8108 GB, free: 1.379 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 9.402e-05/0.8333, allocations: 75.39 kB / 0.8108 GB, free: 1.293 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002159/0.8354, allocations: 1.13 MB / 0.8119 GB, free: 152 kB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.239e-05/0.8355, allocations: 22.66 kB / 0.8119 GB, free: 132 kB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.8367, allocations: 371.5 kB / 0.8123 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.255e-05/0.8367, allocations: 35.86 kB / 0.8123 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.8378, allocations: 51.98 kB / 0.8124 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/0.838, allocations: 95.94 kB / 0.8125 GB, free: 15.58 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.001184/0.8392, allocations: 0.5311 MB / 0.813 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005327/0.8397, allocations: 194.7 kB / 0.8132 GB, free: 14.84 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.003129/0.8429, allocations: 1.512 MB / 0.8147 GB, free: 13.4 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.715580231975764] Failed to read output from testmodel.py, exit status != 0: 1.0480028870515525 1.062073848 0.27918713700000003 Calling exit ...