Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.009737/0.009737, allocations: 1.358 MB / 20.45 MB, free: 4.098 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.07647/0.07647, allocations: 18.24 MB / 42.2 MB, free: 5.191 MB / 33.03 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.0008765/0.0008765, allocations: 84.95 kB / 53.06 MB, free: 6.52 MB / 44.04 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.001062/0.001062, allocations: 159 kB / 64.04 MB, free: 10.21 MB / 58.72 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.8974/0.8974, allocations: 177.2 MB / 252.1 MB, free: 11.76 MB / 218.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.485/0.485, allocations: 102.5 MB / 418.6 MB, free: 5.191 MB / 362.7 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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestSeparator_L1",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestSeparator_L1",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.6029 GB, free: 272 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.464e-05, allocations: 2.281 kB / 0.6029 GB, free: 268 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestSeparator_L1): time 0.01422/0.01423, allocations: 14.89 MB / 0.6174 GB, free: 1.316 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.01785/0.03208, allocations: 18.87 MB / 0.6359 GB, free: 14.38 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008491/0.03293, allocations: 87.31 kB / 0.6359 GB, free: 14.3 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.00223/0.03516, allocations: 1.868 MB / 0.6378 GB, free: 12.42 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.002445/0.0376, allocations: 2.485 MB / 0.6402 GB, free: 9.918 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.04011, allocations: 2.767 MB / 0.6429 GB, free: 7.148 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.003245/0.04336, allocations: 5.835 MB / 0.6486 GB, free: 1.293 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.04453, allocations: 1.687 MB / 0.6502 GB, free: 15.57 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001956/0.04649, allocations: 3.156 MB / 0.6533 GB, free: 12.4 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/0.04829, allocations: 2.084 MB / 0.6554 GB, free: 10.31 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.0003056/0.0486, allocations: 372 kB / 0.6557 GB, free: 9.949 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00196/0.05056, allocations: 1.948 MB / 0.6576 GB, free: 8 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.0006403/0.0512, allocations: 1.199 MB / 0.6588 GB, free: 6.797 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.0008504/0.05205, allocations: 1.282 MB / 0.66 GB, free: 5.512 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.2526/0.3046, allocations: 6.691 MB / 0.6666 GB, free: 30.03 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3046, allocations: 0.875 kB / 0.6666 GB, free: 30.03 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3046, allocations: 0 / 0.6666 GB, free: 30.03 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001872/0.3048, allocations: 0.6875 kB / 0.6666 GB, free: 30.03 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 801 * Number of variables: 801 Notification: Performance of Generate backend data structure: time 0.005253/0.3101, allocations: 4.806 MB / 0.6713 GB, free: 27.78 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3101, allocations: 9.688 kB / 0.6713 GB, free: 27.78 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003141/0.3104, allocations: 385.6 kB / 0.6717 GB, free: 27.72 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008803/0.3113, allocations: 0.5779 MB / 0.6722 GB, free: 27.45 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003735/0.315, allocations: 3.595 MB / 0.6757 GB, free: 26.67 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.847e-05/0.3151, allocations: 157.3 kB / 0.6759 GB, free: 26.66 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000227/0.3154, allocations: 204.8 kB / 0.6761 GB, free: 26.66 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006053/0.3214, allocations: 5.533 MB / 0.6815 GB, free: 24.23 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.844e-05/0.3214, allocations: 26.08 kB / 0.6815 GB, free: 24.23 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.3216, allocations: 103.3 kB / 0.6816 GB, free: 24.23 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-05/0.3216, allocations: 75.25 kB / 0.6817 GB, free: 24.23 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005313/0.3269, allocations: 3.638 MB / 0.6852 GB, free: 24.07 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/0.337, allocations: 20.17 MB / 0.7049 GB, free: 25.53 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004897/0.3419, allocations: 3.159 MB / 0.708 GB, free: 24.47 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.3431, allocations: 1.211 MB / 0.7092 GB, free: 23.79 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.3434, allocations: 133.8 kB / 0.7093 GB, free: 23.77 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004311/0.3477, allocations: 3.07 MB / 0.7123 GB, free: 22.54 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=448): time 4.679e-06/0.3477, allocations: 3.094 kB / 0.7123 GB, free: 22.54 MB / 0.5574 GB Notification: Performance of matching and sorting (n=448): time 0.01145/0.3591, allocations: 6.991 MB / 0.7191 GB, free: 20.09 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002118/0.3593, allocations: 0.8106 MB / 0.7199 GB, free: 19.14 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003119/0.3625, allocations: 3.18 MB / 0.723 GB, free: 17.97 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0001703/0.3626, allocations: 60.36 kB / 0.7231 GB, free: 17.92 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.000656/0.3633, allocations: 1.522 MB / 0.7246 GB, free: 16.71 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006488/0.3639, allocations: 1.462 MB / 0.726 GB, free: 15.54 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009151/0.3649, allocations: 0.8809 MB / 0.7269 GB, free: 15.23 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 7.171e-05/0.3649, allocations: 309.1 kB / 0.7272 GB, free: 14.93 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/0.3669, allocations: 1.625 MB / 0.7287 GB, free: 14.05 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/0.3696, allocations: 3.008 MB / 0.7317 GB, free: 11.34 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08708/0.4567, allocations: 25.85 MB / 0.7569 GB, free: 6.219 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-05/0.4567, allocations: 12 kB / 0.7569 GB, free: 6.207 MB / 0.573 GB Notification: Performance of matching and sorting (n=611) (initialization): time 0.007178/0.4639, allocations: 5.306 MB / 0.7621 GB, free: 1.043 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.296e-05/0.464, allocations: 151.8 kB / 0.7623 GB, free: 0.8711 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004722/0.4687, allocations: 4.047 MB / 0.7662 GB, free: 12.77 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000205/0.4689, allocations: 100.8 kB / 0.7663 GB, free: 12.66 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/0.4708, allocations: 1.124 MB / 0.7674 GB, free: 11.61 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009428/0.4717, allocations: 1.417 MB / 0.7688 GB, free: 10.1 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002146/0.4739, allocations: 450.5 kB / 0.7692 GB, free: 9.656 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003246/0.4742, allocations: 299.8 kB / 0.7695 GB, free: 9.363 MB / 0.5887 GB Warning: Assuming fixed start value for the following 2 variables: volumeVLE_2_1.h:VARIABLE(start = volumeVLE_2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real volumeVLE_2_1.p:VARIABLE(min = 0.0 start = volumeVLE_2_1.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003405/0.4776, allocations: 2.312 MB / 0.7718 GB, free: 7.02 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00235/0.48, allocations: 2.989 MB / 0.7747 GB, free: 3.441 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.08706/0.567, allocations: 25.73 MB / 0.7998 GB, free: 9.262 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.57e-05/0.567, allocations: 12 kB / 0.7998 GB, free: 9.25 MB / 0.6199 GB Notification: Performance of matching and sorting (n=611) (initialization_lambda0): time 0.006742/0.5738, allocations: 5.275 MB / 0.805 GB, free: 4.121 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 8.379e-05/0.5739, allocations: 146.8 kB / 0.8051 GB, free: 3.953 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004656/0.5785, allocations: 3.989 MB / 0.809 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/0.5787, allocations: 88.84 kB / 0.8091 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.5805, allocations: 1.132 MB / 0.8102 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007211/0.5812, allocations: 1.392 MB / 0.8116 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/0.5832, allocations: 377.4 kB / 0.8119 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003062/0.5835, allocations: 298 kB / 0.8122 GB, free: 12.61 MB / 0.6355 GB Warning: Assuming fixed start value for the following 2 variables: volumeVLE_2_1.h:VARIABLE(start = volumeVLE_2_1.h_start unit = \"J/kg\" fixed = true nominal = 1000.0 protected = true ) \"spec. enthalpy state\" type: Real volumeVLE_2_1.p:VARIABLE(min = 0.0 start = volumeVLE_2_1.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"System pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 164 * Number of states: 0 () * Number of discrete variables: 28 (timeTable_p1.nextEventScaled,timeTable_p1.nextEvent,$PRE.timeTable_p1.nextEvent,timeTable_p1.last,timeTable_p1.b,timeTable_p1.a,timeTable2.nextEventScaled,timeTable2.nextEvent,$PRE.timeTable2.nextEvent,timeTable2.last,timeTable2.b,timeTable2.a,timeTable1.nextEventScaled,timeTable1.nextEvent,$PRE.timeTable1.nextEvent,timeTable1.last,timeTable1.b,timeTable1.a,timeTable_p.nextEventScaled,timeTable_p.nextEvent,$PRE.timeTable_p.nextEvent,timeTable_p.last,timeTable_p.b,timeTable_p.a,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (590): * Single equations (assignments): 585 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001079/0.5845, allocations: 0.587 MB / 0.8128 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008243/0.5854, allocations: 425.1 kB / 0.8132 GB, free: 11.65 MB / 0.6355 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 697 equation(s) and 664 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (steamSeparator.fluidIn.q, steamSeparator.fluidIn.cp, steamSeparator.fluidIn.cv, steamSeparator.fluidIn.beta, steamSeparator.fluidIn.kappa, steamSeparator.fluidIn.drhodp_hxi, steamSeparator.fluidIn.drhodh_pxi, _, steamSeparator.fluidIn.w, steamSeparator.fluidIn.gamma) = ($cse6, $cse7, $cse8, $cse9, $cse10, $cse11, $cse12, $cse13, $cse14, $cse15) has size 9 but 7 variables ($whenCondition1, timeTable_p.a, timeTable_p.b, timeTable_p.last, timeTable_p.nextEvent, timeTable_p.nextEventScaled, timeTable_p.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005594/0.591, allocations: 5.489 MB / 0.8186 GB, free: 6.473 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.277431508526206]