Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator.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.01697/0.01697, allocations: 1.354 MB / 20.45 MB, free: 4.102 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.07413/0.07413, allocations: 18.24 MB / 42.2 MB, free: 5.195 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.001415/0.001415, allocations: 92.81 kB / 53.07 MB, free: 6.508 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.001166/0.001166, allocations: 161.5 kB / 64.03 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.8725/0.8725, allocations: 177.2 MB / 252.1 MB, free: 11.77 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.5254/0.5254, allocations: 102.5 MB / 418.6 MB, free: 5.203 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.TestFeedWaterTank_1Separator,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestFeedWaterTank_1Separator",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator,fileNamePrefix="ClaRa_ClaRa_Components_MechanicalSeparation_Check_TestFeedWaterTank_1Separator",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 0.6029 GB, free: 296 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.353e-05, allocations: 2.281 kB / 0.6029 GB, free: 292 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.MechanicalSeparation.Check.TestFeedWaterTank_1Separator): time 0.01636/0.01637, allocations: 24.12 MB / 0.6265 GB, free: 8.074 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02671/0.04308, allocations: 23.84 MB / 0.6497 GB, free: 160 kB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002899/0.04598, allocations: 162.9 kB / 0.6499 GB, free: 15.99 MB / 0.5418 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.004007/0.04998, allocations: 3.074 MB / 0.6529 GB, free: 12.91 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.006085/0.05607, allocations: 4.905 MB / 0.6577 GB, free: 7.973 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.005578/0.06165, allocations: 4.17 MB / 0.6617 GB, free: 3.801 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.2502/0.3118, allocations: 13.28 MB / 0.6747 GB, free: 19.71 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003804/0.3156, allocations: 4.106 MB / 0.6787 GB, free: 19.3 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006814/0.3225, allocations: 7.308 MB / 0.6859 GB, free: 18.69 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005656/0.3281, allocations: 4.899 MB / 0.6906 GB, free: 18.21 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001218/0.3293, allocations: 0.8678 MB / 0.6915 GB, free: 18.21 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004276/0.3336, allocations: 2.616 MB / 0.694 GB, free: 18.12 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001818/0.3354, allocations: 2.897 MB / 0.6969 GB, free: 17.68 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.00264/0.3381, allocations: 2.872 MB / 0.6997 GB, free: 16.73 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.3492, allocations: 14.09 MB / 0.7134 GB, free: 10.47 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3492, allocations: 0 / 0.7134 GB, free: 10.47 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.265e-06/0.3492, allocations: 0 / 0.7134 GB, free: 10.47 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001292/0.3493, allocations: 0 / 0.7134 GB, free: 10.47 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: 1582 * Number of variables: 1582 Notification: Performance of Generate backend data structure: time 0.01022/0.3595, allocations: 8.97 MB / 0.7222 GB, free: 4.227 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3596, allocations: 9.656 kB / 0.7222 GB, free: 4.227 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006274/0.3602, allocations: 0.743 MB / 0.7229 GB, free: 3.684 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.362, allocations: 1.091 MB / 0.724 GB, free: 3.078 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007196/0.3692, allocations: 7.021 MB / 0.7309 GB, free: 14.54 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.3693, allocations: 310.7 kB / 0.7312 GB, free: 14.4 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004432/0.3697, allocations: 401.5 kB / 0.7315 GB, free: 14.28 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01513/0.3849, allocations: 13.52 MB / 0.7447 GB, free: 1.781 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.035e-05/0.3849, allocations: 48.97 kB / 0.7448 GB, free: 1.762 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004007/0.3853, allocations: 206.1 kB / 0.745 GB, free: 1.57 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002673/0.3856, allocations: 374.2 kB / 0.7453 GB, free: 1.203 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/0.4, allocations: 9.786 MB / 0.7549 GB, free: 7.641 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02935/0.4293, allocations: 39.6 MB / 0.7936 GB, free: 15.3 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01268/0.442, allocations: 8.18 MB / 0.8016 GB, free: 6.996 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003655/0.4457, allocations: 3.108 MB / 0.8046 GB, free: 3.816 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004906/0.4462, allocations: 254.5 kB / 0.8048 GB, free: 3.57 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009677/0.4558, allocations: 6.711 MB / 0.8114 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002525/0.4584, allocations: 0.8101 MB / 0.8122 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=870): time 8.686e-06/0.4584, allocations: 4 kB / 0.8122 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=872): time 0.06022/0.5186, allocations: 50.49 MB / 0.8615 GB, free: 9.102 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007265/0.5193, allocations: 1.532 MB / 0.863 GB, free: 7.219 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007397/0.5267, allocations: 6.228 MB / 0.8691 GB, free: 1.008 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 0.0011/0.5278, allocations: 101.7 kB / 0.8692 GB, free: 0.9023 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.001832/0.5296, allocations: 2.832 MB / 0.8719 GB, free: 14.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001962/0.5316, allocations: 2.944 MB / 0.8748 GB, free: 11.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001915/0.5335, allocations: 1.771 MB / 0.8765 GB, free: 9.438 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.5336, allocations: 309.1 kB / 0.8768 GB, free: 9.133 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004852/0.5384, allocations: 4.202 MB / 0.8809 GB, free: 4.906 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006088/0.5445, allocations: 7.266 MB / 0.888 GB, free: 12.48 MB / 0.7137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1592/0.7037, allocations: 51.12 MB / 0.938 GB, free: 8.684 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-05/0.7038, allocations: 20 kB / 0.938 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1167) (initialization): time 0.2751/0.9788, allocations: 12.68 MB / 0.9504 GB, free: 262.3 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 9.586e-05/0.9789, allocations: 68.19 kB / 0.9504 GB, free: 262.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01485/0.9938, allocations: 10.05 MB / 0.9602 GB, free: 259.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002245/0.996, allocations: 1.042 MB / 0.9613 GB, free: 259.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005583/1.002, allocations: 2.35 MB / 0.9636 GB, free: 259.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008042/1.01, allocations: 11.72 MB / 0.975 GB, free: 249.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00436/1.014, allocations: 323.7 kB / 0.9753 GB, free: 249.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007955/1.015, allocations: 0.5411 MB / 0.9758 GB, free: 249.1 MB / 0.7605 GB Warning: Assuming fixed start value for the following 3 variables: tank_L3_adv.volume.h_liq:VARIABLE(start = tank_L3_adv.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real tank_L3_adv.volume.h_vap:VARIABLE(start = tank_L3_adv.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real tank_L3_adv.volume.p_vap:VARIABLE(min = 0.0 start = tank_L3_adv.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008324/1.023, allocations: 5.911 MB / 0.9816 GB, free: 246.5 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00589/1.029, allocations: 7.214 MB / 0.9886 GB, free: 241 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1352/1.164, allocations: 50.99 MB / 1.038 GB, free: 204.6 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.089e-05/1.164, allocations: 20 kB / 1.038 GB, free: 204.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1167) (initialization_lambda0): time 0.01354/1.178, allocations: 12.33 MB / 1.051 GB, free: 192.6 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.687e-05/1.178, allocations: 67.47 kB / 1.051 GB, free: 192.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009578/1.187, allocations: 9.708 MB / 1.06 GB, free: 182.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/1.188, allocations: 0.7209 MB / 1.061 GB, free: 182 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004146/1.193, allocations: 2.367 MB / 1.063 GB, free: 179.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00563/1.198, allocations: 11.54 MB / 1.074 GB, free: 167.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003436/1.202, allocations: 316.6 kB / 1.075 GB, free: 167.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005151/1.202, allocations: 0.5426 MB / 1.075 GB, free: 166.6 MB / 0.7605 GB Warning: Assuming fixed start value for the following 3 variables: tank_L3_adv.volume.h_liq:VARIABLE(start = tank_L3_adv.volume.h_liq_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of liquid phase\" type: Real tank_L3_adv.volume.h_vap:VARIABLE(start = tank_L3_adv.volume.h_vap_start unit = \"J/kg\" fixed = true nominal = 1000.0 ) \"Specific enthalpy of vapour phase\" type: Real tank_L3_adv.volume.p_vap:VARIABLE(min = 0.0 start = tank_L3_adv.volume.p_start unit = \"Pa\" fixed = true nominal = 1e5 stateSelect=StateSelect.prefer ) \"Vapour pressure\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 295 * Number of states: 0 () * Number of discrete variables: 7 (ramp1.nextEventScaled,ramp1.nextEvent,$PRE.ramp1.nextEvent,ramp1.last,ramp1.b,ramp1.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1134): * Single equations (assignments): 1126 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,3,87.5%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,15)} Notification: Performance of prepare postOptimizeDAE: time 0.002147/1.204, allocations: 0.7185 MB / 1.076 GB, free: 165.9 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009737/1.205, allocations: 0.7745 MB / 1.077 GB, free: 165.6 MB / 0.7605 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 1265 equation(s) and 1212 variable(s). Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01034/1.216, allocations: 10.67 MB / 1.087 GB, free: 155.5 MB / 0.7605 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.867034868337214]