Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet.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.01041/0.01041, allocations: 1.747 MB / 21.35 MB, free: 480 kB / 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.00145/0.00145, allocations: 103 kB / 24.94 MB, free: 2.051 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.001804/0.001804, allocations: 209.9 kB / 28.64 MB, free: 3.344 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.548/1.548, allocations: 230.6 MB / 262.8 MB, free: 5.836 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.179/1.179, allocations: 130.7 MB / 450.4 MB, free: 6.383 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: translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="Time|firstOrder.y|pump2.rho_CF_ps|pump2.rho_upstream_ps|speed1.phi|speed1.w",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="Time|firstOrder.y|pump2.rho_CF_ps|pump2.rho_upstream_ps|speed1.phi|speed1.w",fileNamePrefix="ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet") [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.06816/0.06816, allocations: 20.99 MB / 0.6371 GB, free: 4.203 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2691, allocations: 81.92 MB / 0.7171 GB, free: 2.188 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.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet): time 0.6136/0.8827, allocations: 43.14 MB / 0.7592 GB, free: 22.24 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.02665/0.9093, allocations: 17.09 MB / 0.7759 GB, free: 10.44 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002714/0.912, allocations: 49.88 kB / 0.7759 GB, free: 10.42 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.003821/0.9158, allocations: 1.13 MB / 0.777 GB, free: 9.918 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.004381/0.9202, allocations: 1.21 MB / 0.7782 GB, free: 9.203 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 0.006323/0.9266, allocations: 1.905 MB / 0.7801 GB, free: 8.27 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 0.004919/0.9315, allocations: 2.742 MB / 0.7828 GB, free: 6.949 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.9329, allocations: 0.8337 MB / 0.7836 GB, free: 6.547 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.9349, allocations: 1.173 MB / 0.7847 GB, free: 6.016 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.9368, allocations: 1.24 MB / 0.7859 GB, free: 5.488 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 0.0004036/0.9372, allocations: 203.8 kB / 0.7861 GB, free: 5.488 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004904/0.9421, allocations: 1.798 MB / 0.7879 GB, free: 4.59 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 0.0006277/0.9427, allocations: 0.6484 MB / 0.7885 GB, free: 4.102 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.9438, allocations: 0.8797 MB / 0.7894 GB, free: 3.512 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.008076/0.9518, allocations: 4.413 MB / 0.7937 GB, free: 0.6406 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.9518, allocations: 3.938 kB / 0.7937 GB, free: 0.6367 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9518, allocations: 3.75 kB / 0.7937 GB, free: 0.6367 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 3.961e-05/0.9519, allocations: 0 / 0.7937 GB, free: 0.6367 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: 370 * Number of variables: 370 Notification: Performance of Generate backend data structure: time 0.006699/0.9586, allocations: 3.017 MB / 0.7966 GB, free: 14.42 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.9586, allocations: 12.31 kB / 0.7966 GB, free: 14.42 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.9597, allocations: 327.6 kB / 0.797 GB, free: 14.25 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005259/0.965, allocations: 2.555 MB / 0.7994 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.9651, allocations: 86.84 kB / 0.7995 GB, free: 12.48 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.9653, allocations: 116.9 kB / 0.7996 GB, free: 12.44 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004978/0.9702, allocations: 2.46 MB / 0.802 GB, free: 10.44 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.361e-05/0.9703, allocations: 13.97 kB / 0.8021 GB, free: 10.43 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.9704, allocations: 58.33 kB / 0.8021 GB, free: 10.39 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.076e-05/0.9704, allocations: 36.56 kB / 0.8021 GB, free: 10.39 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004363/0.9748, allocations: 1.676 MB / 0.8038 GB, free: 8.906 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01109/0.9859, allocations: 9.563 MB / 0.8131 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004141/0.99, allocations: 1.387 MB / 0.8145 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.9912, allocations: 0.5837 MB / 0.815 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002639/0.9914, allocations: 78.69 kB / 0.8151 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003313/0.9948, allocations: 1.38 MB / 0.8165 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=192): time 4.268e-06/0.9948, allocations: 3.938 kB / 0.8165 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=193): time 0.01769/1.012, allocations: 8.475 MB / 0.8248 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003352/1.013, allocations: 0.5126 MB / 0.8253 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002903/1.016, allocations: 1.828 MB / 0.827 GB, free: 288 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001559/1.016, allocations: 45.7 kB / 0.8271 GB, free: 236 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008485/1.017, allocations: 0.8594 MB / 0.8279 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006849/1.017, allocations: 0.6492 MB / 0.8286 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000674/1.018, allocations: 443.5 kB / 0.829 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.018, allocations: 301.1 kB / 0.8293 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/1.02, allocations: 0.7366 MB / 0.83 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002132/1.022, allocations: 1.385 MB / 0.8313 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003654/1.025, allocations: 2.183 MB / 0.8335 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/1.025, allocations: 4 kB / 0.8335 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005561/1.031, allocations: 2.562 MB / 0.836 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/1.031, allocations: 113.1 kB / 0.8361 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004006/1.035, allocations: 1.871 MB / 0.8379 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006861/1.036, allocations: 111.5 kB / 0.838 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/1.037, allocations: 0.4991 MB / 0.8385 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007479/1.045, allocations: 2.408 MB / 0.8409 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/1.047, allocations: 90.42 kB / 0.8409 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002444/1.047, allocations: 127.9 kB / 0.8411 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002341/1.049, allocations: 1.13 MB / 0.8422 GB, free: 20 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002053/1.051, allocations: 1.385 MB / 0.8435 GB, free: 14.33 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00353/1.055, allocations: 2.183 MB / 0.8456 GB, free: 11.88 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.295e-05/1.055, allocations: 8 kB / 0.8457 GB, free: 11.88 MB / 0.6232 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.00564/1.06, allocations: 2.552 MB / 0.8481 GB, free: 9.301 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/1.06, allocations: 114.2 kB / 0.8483 GB, free: 9.172 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003962/1.064, allocations: 1.867 MB / 0.8501 GB, free: 7.277 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006203/1.065, allocations: 118.1 kB / 0.8502 GB, free: 7.164 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/1.067, allocations: 0.4953 MB / 0.8507 GB, free: 6.668 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007354/1.074, allocations: 2.4 MB / 0.853 GB, free: 4.215 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/1.076, allocations: 91.77 kB / 0.8531 GB, free: 4.125 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000232/1.076, allocations: 131.9 kB / 0.8532 GB, free: 3.996 MB / 0.6232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 21 (Delta_T_in_Ramp.nextEventScaled,Delta_T_in_Ramp.nextEvent,$PRE.Delta_T_in_Ramp.nextEvent,Delta_T_in_Ramp.last,Delta_T_in_Ramp.b,Delta_T_in_Ramp.a,Delta_p_out_Ramp.nextEventScaled,Delta_p_out_Ramp.nextEvent,$PRE.Delta_p_out_Ramp.nextEvent,Delta_p_out_Ramp.last,Delta_p_out_Ramp.b,Delta_p_out_Ramp.a,rpmRamp.nextEventScaled,rpmRamp.nextEvent,$PRE.rpmRamp.nextEvent,rpmRamp.last,rpmRamp.b,rpmRamp.a,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 3 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007417/1.076, allocations: 425.5 kB / 0.8536 GB, free: 3.555 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004691/1.077, allocations: 234.5 kB / 0.8539 GB, free: 3.324 MB / 0.6232 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 223 equation(s) and 215 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump2.summary.inlet.steamQuality, pump2.fluidIn.cp, pump2.fluidIn.cv, pump2.fluidIn.beta, pump2.fluidIn.kappa, pump2.fluidIn.drhodp_hxi, pump2.fluidIn.drhodh_pxi, _, pump2.fluidIn.w, pump2.fluidIn.gamma) = ($cse25, $cse26, $cse27, $cse28, $cse29, $cse30, $cse31, $cse32, $cse33, $cse34) has size 9 but 7 variables ($whenCondition1, rpmRamp.a, rpmRamp.b, rpmRamp.last, rpmRamp.nextEvent, rpmRamp.nextEventScaled, rpmRamp.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00411/1.081, allocations: 2.09 MB / 0.8559 GB, free: 1.332 MB / 0.6232 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.324422194156796] Failed to read output from testmodel.py, exit status != 0: 1.3014286612160504 1.31950677 0.364312964 Calling exit ...