Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor.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.008323/0.008323, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.000819/0.000819, allocations: 84.2 kB / 25.4 MB, free: 7 MB / 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.0009101/0.0009101, allocations: 161.3 kB / 29.33 MB, free: 3.133 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.9088/0.9088, allocations: 177.1 MB / 210.3 MB, free: 3.465 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.6395/0.6395, allocations: 102.5 MB / 369.9 MB, free: 224 kB / 330.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 SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|pump.rpm|speedSensor.flange.phi",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|pump.rpm|speedSensor.flange.phi",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 470.5 MB, free: 18.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.592e-05, allocations: 4.562 kB / 470.5 MB, free: 18.81 MB / 410.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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor): time 0.1444/0.1445, allocations: 61.89 MB / 0.5199 GB, free: 9.75 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01945/0.1639, allocations: 17.91 MB / 0.5374 GB, free: 7.789 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/0.1658, allocations: 55.62 kB / 0.5374 GB, free: 7.734 MB / 458.8 MB [/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.0035/0.1693, allocations: 1.31 MB / 0.5387 GB, free: 6.418 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004629/0.1739, allocations: 1.553 MB / 0.5402 GB, free: 4.855 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004528/0.1784, allocations: 2.111 MB / 0.5423 GB, free: 2.738 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.004324/0.1828, allocations: 3.517 MB / 0.5457 GB, free: 15.21 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.1844, allocations: 1.246 MB / 0.5469 GB, free: 13.93 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1088/0.2932, allocations: 47.13 MB / 0.5929 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.295, allocations: 1.246 MB / 0.5942 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003646/0.2954, allocations: 200 kB / 0.5944 GB, free: 14.54 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003077/0.2985, allocations: 1.637 MB / 0.596 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004647/0.2989, allocations: 0.712 MB / 0.5967 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0008198/0.2998, allocations: 0.7788 MB / 0.5974 GB, free: 11.4 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.005844/0.3056, allocations: 3.522 MB / 0.6009 GB, free: 7.863 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.3056, allocations: 3.938 kB / 0.6009 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3056, allocations: 0 / 0.6009 GB, free: 7.859 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.128e-05/0.3057, allocations: 0 / 0.6009 GB, free: 7.859 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: 460 * Number of variables: 460 Notification: Performance of Generate backend data structure: time 0.00426/0.3099, allocations: 3.939 MB / 0.6047 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.31, allocations: 12.03 kB / 0.6047 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004644/0.3104, allocations: 458.7 kB / 0.6052 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/0.3123, allocations: 1.759 MB / 0.6069 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.766e-05/0.3124, allocations: 115.3 kB / 0.607 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.3126, allocations: 168.2 kB / 0.6071 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/0.3152, allocations: 2.52 MB / 0.6096 GB, free: 14.26 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.3152, allocations: 15.81 kB / 0.6096 GB, free: 14.25 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.595e-05/0.3153, allocations: 71.94 kB / 0.6097 GB, free: 14.18 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.3153, allocations: 44 kB / 0.6097 GB, free: 14.13 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001735/0.317, allocations: 1.156 MB / 0.6109 GB, free: 12.95 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008099/0.3251, allocations: 13.97 MB / 0.6245 GB, free: 14.52 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.3273, allocations: 1.373 MB / 0.6258 GB, free: 13 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004004/0.3277, allocations: 432.7 kB / 0.6262 GB, free: 12.52 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001985/0.3279, allocations: 116.7 kB / 0.6264 GB, free: 12.4 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001595/0.3295, allocations: 1.217 MB / 0.6275 GB, free: 11.08 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=225): time 3.316e-06/0.3295, allocations: 0 / 0.6275 GB, free: 11.08 MB / 0.5418 GB Notification: Performance of matching and sorting (n=229): time 0.008411/0.3379, allocations: 4.734 MB / 0.6322 GB, free: 6.215 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002382/0.3381, allocations: 0.6926 MB / 0.6328 GB, free: 5.363 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.34, allocations: 2.111 MB / 0.6349 GB, free: 3.238 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 9.733e-05/0.3401, allocations: 53.7 kB / 0.635 GB, free: 3.18 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007778/0.3408, allocations: 1.25 MB / 0.6362 GB, free: 1.914 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004822/0.3413, allocations: 0.7822 MB / 0.6369 GB, free: 1.125 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005083/0.3418, allocations: 0.526 MB / 0.6375 GB, free: 0.5898 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.342, allocations: 476.8 kB / 0.6379 GB, free: 124 kB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/0.3424, allocations: 394 kB / 0.6383 GB, free: 15.72 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009882/0.3434, allocations: 1.523 MB / 0.6398 GB, free: 13.71 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/0.3453, allocations: 2.256 MB / 0.642 GB, free: 11 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.3453, allocations: 8 kB / 0.642 GB, free: 11 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.002801/0.3481, allocations: 2.235 MB / 0.6442 GB, free: 8.715 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.94e-05/0.3482, allocations: 83.38 kB / 0.6443 GB, free: 8.621 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001809/0.35, allocations: 1.399 MB / 0.6456 GB, free: 7.18 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006219/0.3506, allocations: 250.8 kB / 0.6459 GB, free: 6.922 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009384/0.3515, allocations: 0.5576 MB / 0.6464 GB, free: 6.363 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2304/0.5819, allocations: 7 MB / 0.6532 GB, free: 117.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001581/0.5835, allocations: 116.5 kB / 0.6533 GB, free: 117.3 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/0.5837, allocations: 125.9 kB / 0.6535 GB, free: 117.3 MB / 0.5574 GB Warning: Assuming fixed start value for the following 1 variables: PID.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001039/0.5848, allocations: 0.5273 MB / 0.654 GB, free: 117.1 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007318/0.5855, allocations: 1.525 MB / 0.6555 GB, free: 115.7 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001631/0.5871, allocations: 2.249 MB / 0.6577 GB, free: 114.3 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.264e-05/0.5871, allocations: 9.047 kB / 0.6577 GB, free: 114.3 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.002549/0.5897, allocations: 2.215 MB / 0.6598 GB, free: 114.1 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/0.5897, allocations: 84.78 kB / 0.6599 GB, free: 114 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001529/0.5913, allocations: 1.363 MB / 0.6613 GB, free: 113.8 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004577/0.5917, allocations: 231.7 kB / 0.6615 GB, free: 113.8 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008562/0.5926, allocations: 0.5502 MB / 0.662 GB, free: 113.8 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004686/0.5973, allocations: 6.975 MB / 0.6688 GB, free: 108.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.5985, allocations: 111.8 kB / 0.6689 GB, free: 108.3 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.5987, allocations: 126.9 kB / 0.669 GB, free: 108.3 MB / 0.5574 GB Warning: Assuming fixed start value for the following 1 variables: PID.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.PID.time_lag_I_activation.entryTime,$PRE.PID.switch_OnOff.u2,PID.I_activation.y,PID.time_lag_I_activation.entryTime,PID.switch_OnOff.u2,ramp1.nextEventScaled,ramp1.nextEvent,$PRE.ramp1.nextEvent,ramp1.last,ramp1.b,ramp1.a,ramp.nextEventScaled,ramp.nextEvent,$PRE.ramp.nextEvent,ramp.last,ramp.b,ramp.a,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (303): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007765/0.5994, allocations: 498.3 kB / 0.6695 GB, free: 107.9 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000407/0.5998, allocations: 349.3 kB / 0.6699 GB, free: 107.9 MB / 0.5574 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 254 equation(s) and 246 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump.summary.inlet.steamQuality, pump.fluidIn.cp, pump.fluidIn.cv, pump.fluidIn.beta, pump.fluidIn.kappa, pump.fluidIn.drhodp_hxi, pump.fluidIn.drhodh_pxi, _, pump.fluidIn.w, pump.fluidIn.gamma) = ($cse25, $cse26, $cse27, $cse28, $cse29, $cse30, $cse31, $cse32, $cse33, $cse34) has size 9 but 7 variables ($whenCondition1, ramp.a, ramp.b, ramp.last, ramp.nextEvent, ramp.nextEventScaled, ramp.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/0.6023, allocations: 1.904 MB / 0.6717 GB, free: 107.6 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.332905000075698]