Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, allocations: 114.8 kB / 20.43 MB, free: 4.609 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 217.3 kB / 23.73 MB, free: 2.148 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9203/0.9203, allocations: 230.7 MB / 257.6 MB, free: 9.352 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1504/0.1504, allocations: 47.7 MB / 361.8 MB, free: 2.223 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 99.84 kB / 0.4982 GB, free: 6.574 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.089/0.09089, allocations: 66.24 MB / 0.5629 GB, free: 4.195 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.241/0.3319, allocations: 81.75 MB / 0.6427 GB, free: 6.191 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0193/0.3512, allocations: 19.63 MB / 0.6619 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/0.353, allocations: 126.9 kB / 0.662 GB, free: 2.398 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.3546, allocations: 0.9084 MB / 0.6629 GB, free: 1.484 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005855/0.3605, allocations: 3.885 MB / 0.6667 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.007984/0.3684, allocations: 5.951 MB / 0.6725 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.005372/0.3738, allocations: 7.217 MB / 0.6795 GB, free: 396 kB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.3752, allocations: 1.595 MB / 0.6811 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.08204/0.4572, allocations: 74.44 MB / 0.7538 GB, free: 3.59 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03282/0.4901, allocations: 31.83 MB / 0.7849 GB, free: 3.418 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.000744/0.4908, allocations: 244 kB / 0.7851 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007453/0.4983, allocations: 5.415 MB / 0.7904 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007788/0.499, allocations: 1.11 MB / 0.7915 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.5002, allocations: 1.253 MB / 0.7927 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004955/0.5052, allocations: 5.384 MB / 0.798 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5052, allocations: 3.938 kB / 0.798 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5052, allocations: 4 kB / 0.798 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.105e-05/0.5052, allocations: 0 / 0.798 GB, free: 5.949 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.005077/0.5103, allocations: 3.508 MB / 0.8014 GB, free: 2.387 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.5103, allocations: 8.031 kB / 0.8014 GB, free: 2.379 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003718/0.5107, allocations: 335.4 kB / 0.8017 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005943/0.5113, allocations: 326.1 kB / 0.802 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.5132, allocations: 1.586 MB / 0.8036 GB, free: 88 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1941/0.7072, allocations: 272.3 kB / 0.8038 GB, free: 190.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000735/0.708, allocations: 187.8 kB / 0.804 GB, free: 190.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004432/0.7124, allocations: 3.659 MB / 0.8076 GB, free: 190.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.529e-05/0.7124, allocations: 5.375 kB / 0.8076 GB, free: 190.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.7126, allocations: 84.7 kB / 0.8077 GB, free: 190.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002424/0.7128, allocations: 247.3 kB / 0.8079 GB, free: 190.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004077/0.7169, allocations: 3.097 MB / 0.8109 GB, free: 190.1 MB / 0.6198 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.01361/0.7305, allocations: 10.15 MB / 0.8209 GB, free: 186.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003171/0.7337, allocations: 2.089 MB / 0.8229 GB, free: 185.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/0.7352, allocations: 1.105 MB / 0.824 GB, free: 185.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005413/0.7406, allocations: 3.275 MB / 0.8272 GB, free: 184.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.7406, allocations: 55.42 kB / 0.8272 GB, free: 184.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003872/0.741, allocations: 160.3 kB / 0.8274 GB, free: 184 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=158): time 3.617e-06/0.741, allocations: 0 / 0.8274 GB, free: 184 MB / 0.6198 GB Notification: Performance of matching and sorting (n=259): time 0.2448/0.9858, allocations: 55.01 MB / 0.8811 GB, free: 141.5 MB / 0.6198 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.06289/1.049, allocations: 44.39 MB / 0.9245 GB, free: 96.83 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/1.05, allocations: 1.9 MB / 0.9263 GB, free: 94.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003914/1.051, allocations: 69.7 kB / 0.9264 GB, free: 94.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003618/1.051, allocations: 1.109 MB / 0.9275 GB, free: 93.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004183/1.051, allocations: 0.9225 MB / 0.9284 GB, free: 92.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000681/1.052, allocations: 0.5606 MB / 0.9289 GB, free: 92.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 1.891e-05/1.052, allocations: 309.1 kB / 0.9292 GB, free: 92.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002248/1.054, allocations: 2.18 MB / 0.9313 GB, free: 89.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002414/1.057, allocations: 2.811 MB / 0.9341 GB, free: 86.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005514/1.062, allocations: 5.415 MB / 0.9394 GB, free: 81.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/1.062, allocations: 8 kB / 0.9394 GB, free: 81.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.008337/1.071, allocations: 7.386 MB / 0.9466 GB, free: 73.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/1.071, allocations: 16 kB / 0.9466 GB, free: 73.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/1.071, allocations: 22.78 kB / 0.9466 GB, free: 73.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01994/1.091, allocations: 11.83 MB / 0.9582 GB, free: 62.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007098/1.091, allocations: 347.2 kB / 0.9585 GB, free: 61.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008813/1.1, allocations: 8.629 MB / 0.9669 GB, free: 53.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/1.102, allocations: 191.8 kB / 0.9671 GB, free: 52.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002155/1.102, allocations: 155.9 kB / 0.9673 GB, free: 52.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002777/1.105, allocations: 2.676 MB / 0.9699 GB, free: 50 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00231/1.107, allocations: 2.757 MB / 0.9726 GB, free: 46.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005253/1.112, allocations: 5.288 MB / 0.9777 GB, free: 41.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.124e-06/1.112, allocations: 8 kB / 0.9777 GB, free: 41.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.007671/1.12, allocations: 7.132 MB / 0.9847 GB, free: 34.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/1.12, allocations: 13 kB / 0.9847 GB, free: 34.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/1.12, allocations: 20 kB / 0.9847 GB, free: 34.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01204/1.132, allocations: 7.666 MB / 0.9922 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008757/1.133, allocations: 391.8 kB / 0.9926 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008258/1.141, allocations: 8.149 MB / 1.001 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/1.143, allocations: 195.8 kB / 1.001 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/1.143, allocations: 143.9 kB / 1.001 GB, free: 17.82 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 4 (tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,79), (18,78)} Notification: Performance of prepare postOptimizeDAE: time 0.0005134/1.143, allocations: 340.4 kB / 1.001 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/1.144, allocations: 262.3 kB / 1.001 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008356/1.152, allocations: 7.722 MB / 1.009 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/1.152, allocations: 28 kB / 1.009 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/1.152, allocations: 8 kB / 1.009 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006985/1.159, allocations: 6.777 MB / 1.016 GB, free: 2.605 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/1.175, allocations: 13 MB / 1.028 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/1.175, allocations: 4.125 kB / 1.028 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005515/1.175, allocations: 192.6 kB / 1.029 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02087/1.196, allocations: 11.25 MB / 1.04 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001997/1.196, allocations: 83.95 kB / 1.04 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009831/1.206, allocations: 8.344 MB / 1.048 GB, free: 1.664 MB / 0.6511 GB Warning: There are tearing variables with annotation attribute '__OpenModelica_tearingSelect = TearingSelect.never'. Use -d=tearingdump and -d=tearingdumpV for more information. Error: Jacobian StateSetJac9 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2596/1.466, allocations: 41.22 MB / 1.088 GB, free: 223.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01155/1.477, allocations: 10.33 MB / 1.098 GB, free: 216.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/1.479, allocations: 0.7621 MB / 1.099 GB, free: 215.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002613/1.479, allocations: 52 kB / 1.099 GB, free: 215.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/1.48, allocations: 169.8 kB / 1.099 GB, free: 215.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/1.48, allocations: 210 kB / 1.099 GB, free: 215.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/1.48, allocations: 115.2 kB / 1.099 GB, free: 215.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001038/1.482, allocations: 1.273 MB / 1.101 GB, free: 214 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.1e-08/1.482, allocations: 0 / 1.101 GB, free: 214 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004771/1.486, allocations: 2.926 MB / 1.103 GB, free: 211.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,77), (19,105)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01628/1.503, allocations: 12.92 MB / 1.116 GB, free: 198.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01248/1.515, allocations: 8.804 MB / 1.125 GB, free: 189.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/1.515, allocations: 0 / 1.125 GB, free: 189.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.004333/1.519, allocations: 3.021 MB / 1.128 GB, free: 186.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00264/1.522, allocations: 1.061 MB / 1.129 GB, free: 185.8 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 3.4477775171399117]