Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector.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.006219/0.006219, allocations: 1.446 MB / 20.54 MB, free: 4.008 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.0008173/0.0008173, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 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.001171/0.001171, allocations: 165.8 kB / 27.85 MB, free: 5.098 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.9494/0.9494, allocations: 177.2 MB / 208.6 MB, free: 2.965 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.7854/0.7854, allocations: 102.4 MB / 367.9 MB, free: 1.461 MB / 330.8 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|injector.mixingZone.h|injector.mixingZone.p|injector.outflowZone.h|injector.outflowZone.p|injector.wall.U.1.|injector.wall.U.2.|injector.wall.U.3.|injector1.mixingZone.h_liq|injector1.mixingZone.h_vap|injector1.mixingZone.p_vap|injector1.mixingZone.volume_vap|injector1.wall.U.1.|injector1.wall.U.2.|injector1.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector") translateModel(ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|injector.mixingZone.h|injector.mixingZone.p|injector.outflowZone.h|injector.outflowZone.p|injector.wall.U.1.|injector.wall.U.2.|injector.wall.U.3.|injector1.mixingZone.h_liq|injector1.mixingZone.h_vap|injector1.mixingZone.p_vap|injector1.mixingZone.volume_vap|injector1.wall.U.1.|injector1.wall.U.2.|injector1.wall.U.3.",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Fittings.Check.Test_SprayInjector") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.5367 GB, free: 39.81 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.786e-05/3.98e-05, allocations: 2.281 kB / 0.5367 GB, free: 39.8 MB / 490.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.VolumesValvesFittings.Fittings.Check.Test_SprayInjector): time 0.1452/0.1453, allocations: 78.06 MB / 0.6129 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.04863/0.1939, allocations: 27.53 MB / 0.6398 GB, free: 2.273 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009075/0.203, allocations: 210.4 kB / 0.64 GB, free: 2.066 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.009693/0.2127, allocations: 3.793 MB / 0.6437 GB, free: 14.25 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01793/0.2306, allocations: 6.482 MB / 0.65 GB, free: 7.734 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.01364/0.2443, allocations: 5.993 MB / 0.6559 GB, free: 1.73 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.0268/0.2711, allocations: 17.84 MB / 0.6733 GB, free: 15.83 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01016/0.2812, allocations: 5.119 MB / 0.6783 GB, free: 10.63 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02152/0.3027, allocations: 9.479 MB / 0.6875 GB, free: 1.129 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01174/0.3145, allocations: 6.03 MB / 0.6934 GB, free: 11.08 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 0.004582/0.3191, allocations: 1.141 MB / 0.6945 GB, free: 9.941 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008597/0.3277, allocations: 2.952 MB / 0.6974 GB, free: 6.984 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 0.005225/0.3329, allocations: 3.566 MB / 0.7009 GB, free: 3.406 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 0.008084/0.341, allocations: 3.71 MB / 0.7045 GB, free: 15.68 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.02547/0.3664, allocations: 17.82 MB / 0.7219 GB, free: 13.81 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 1.208e-05/0.3664, allocations: 0 / 0.7219 GB, free: 13.81 MB / 0.6199 GB Notification: Performance of FrontEnd: time 3.737e-06/0.3664, allocations: 0 / 0.7219 GB, free: 13.81 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.0009094/0.3674, allocations: 4 kB / 0.7219 GB, free: 13.81 MB / 0.6199 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2203 * Number of variables: 2203 Notification: Performance of Generate backend data structure: time 0.02682/0.3942, allocations: 11.12 MB / 0.7328 GB, free: 2.578 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3942, allocations: 8.031 kB / 0.7328 GB, free: 2.57 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003415/0.3976, allocations: 1.415 MB / 0.7342 GB, free: 1.148 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01446/0.4121, allocations: 7.907 MB / 0.7419 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003526/0.4124, allocations: 444.1 kB / 0.7423 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001771/0.4142, allocations: 0.5706 MB / 0.7429 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0258/0.44, allocations: 16.69 MB / 0.7592 GB, free: 5.297 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001628/0.4402, allocations: 71.38 kB / 0.7593 GB, free: 5.227 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007377/0.4409, allocations: 292 kB / 0.7595 GB, free: 4.941 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004061/0.4413, allocations: 488.6 kB / 0.76 GB, free: 4.461 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3454/0.7867, allocations: 11.69 MB / 0.7714 GB, free: 168.3 MB / 0.6512 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.0623/0.849, allocations: 58.74 MB / 0.8288 GB, free: 118.5 MB / 0.6512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01987/0.8689, allocations: 9.371 MB / 0.8379 GB, free: 113.1 MB / 0.6512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007855/0.8768, allocations: 3.527 MB / 0.8414 GB, free: 111 MB / 0.6512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001548/0.8783, allocations: 402.1 kB / 0.8418 GB, free: 110.9 MB / 0.6512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/0.8784, allocations: 126 kB / 0.8419 GB, free: 110.8 MB / 0.6512 GB Notification: Performance of pre-optimization done (n=1085): time 1.159e-05/0.8784, allocations: 0 / 0.8419 GB, free: 110.8 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1086): time 0.08302/0.9615, allocations: 64.55 MB / 0.9049 GB, free: 51.23 MB / 0.6512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002653/0.9617, allocations: 1.464 MB / 0.9064 GB, free: 49.43 MB / 0.6512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008673/0.9704, allocations: 7.16 MB / 0.9133 GB, free: 42.41 MB / 0.6512 GB Notification: Performance of collectPreVariables (initialization): time 0.00216/0.9726, allocations: 109.7 kB / 0.9135 GB, free: 42.29 MB / 0.6512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001686/0.9742, allocations: 3.855 MB / 0.9172 GB, free: 38.82 MB / 0.6512 GB Notification: Performance of collectInitialBindings (initialization): time 0.004058/0.9783, allocations: 3.671 MB / 0.9208 GB, free: 35.45 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003347/0.9816, allocations: 2.336 MB / 0.9231 GB, free: 33.1 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 3.696e-05/0.9817, allocations: 303.8 kB / 0.9234 GB, free: 32.8 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005939/0.9876, allocations: 4.84 MB / 0.9281 GB, free: 27.95 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007645/0.9953, allocations: 8.836 MB / 0.9367 GB, free: 17.49 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01697/1.012, allocations: 13.98 MB / 0.9504 GB, free: 2.266 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.516e-05/1.012, allocations: 34.59 kB / 0.9504 GB, free: 2.234 MB / 0.6512 GB Notification: Performance of matching and sorting (n=1553) (initialization): time 0.03195/1.044, allocations: 15.65 MB / 0.9657 GB, free: 2.664 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 7.525e-05/1.044, allocations: 51.98 kB / 0.9657 GB, free: 2.613 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02428/1.069, allocations: 12.69 MB / 0.9781 GB, free: 6.023 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03883/1.107, allocations: 7.989 MB / 0.9859 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00853/1.116, allocations: 2.92 MB / 0.9888 GB, free: 11.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009195/1.125, allocations: 9.875 MB / 0.9984 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008095/1.133, allocations: 0.5403 MB / 0.999 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00272/1.136, allocations: 0.7391 MB / 0.9997 GB, free: 36 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0135/1.149, allocations: 6.71 MB / 1.006 GB, free: 9.316 MB / 0.7137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01126/1.161, allocations: 8.745 MB / 1.015 GB, free: 14.94 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0196/1.18, allocations: 13.82 MB / 1.028 GB, free: 15.82 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001129/1.18, allocations: 28 kB / 1.028 GB, free: 15.79 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1553) (initialization_lambda0): time 0.03047/1.211, allocations: 14.73 MB / 1.043 GB, free: 1.035 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 6.057e-05/1.211, allocations: 48 kB / 1.043 GB, free: 0.9883 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3732/1.584, allocations: 11.06 MB / 1.054 GB, free: 244.2 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/1.586, allocations: 0.8524 MB / 1.054 GB, free: 244 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008207/1.594, allocations: 3.005 MB / 1.057 GB, free: 243.8 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006123/1.6, allocations: 8.06 MB / 1.065 GB, free: 237.5 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007213/1.607, allocations: 0.5324 MB / 1.066 GB, free: 237.3 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002562/1.61, allocations: 0.7215 MB / 1.066 GB, free: 237.2 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * Number of states: 0 () * Number of discrete variables: 2 (valve1.pressureLoss.normIsValid,valve.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1466): * Single equations (assignments): 1458 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 7 * 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): 1 system {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): 5 systems {(3,43), (3,19), (1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.003233/1.613, allocations: 0.8441 MB / 1.067 GB, free: 236.6 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002853/1.616, allocations: 0.9172 MB / 1.068 GB, free: 236.6 MB / 0.7449 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 1624 equation(s) and 1554 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (massFlowSource_XRG.fluidOut.q, massFlowSource_XRG.fluidOut.cp, massFlowSource_XRG.fluidOut.cv, massFlowSource_XRG.fluidOut.beta, massFlowSource_XRG.fluidOut.kappa, massFlowSource_XRG.fluidOut.drhodp_hxi, massFlowSource_XRG.fluidOut.drhodh_pxi, _, massFlowSource_XRG.fluidOut.w, massFlowSource_XRG.fluidOut.gamma) = ($cse388, $cse389, $cse390, $cse391, $cse392, $cse393, $cse394, $cse395, $cse396, $cse397) has size 9 but 8 variables ($cse229, $cse230, $cse231, $cse232, injector.outflowZone.bulk.transp.Pr, injector.outflowZone.bulk.transp.lambda, injector.outflowZone.bulk.transp.eta, injector.outflowZone.bulk.transp.sigma) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01953/1.636, allocations: 13.8 MB / 1.082 GB, free: 232.2 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 4.729343703947961] Failed to read output from testmodel.py, exit status != 0: 1.799053942784667 1.806168176 1.437809932 Calling exit ...