Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState.conf.json 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.001537/0.001537, allocations: 88.48 kB / 19.93 MB, free: 4.621 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.001939/0.001939, allocations: 173.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8567/0.8567, allocations: 158.6 MB / 185 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1325/0.1325, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 408.4 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.154e-05, allocations: 6.281 kB / 408.4 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.2684/0.2685, allocations: 81.1 MB / 489.5 MB, free: 44.24 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.02142/0.2899, allocations: 19.55 MB / 0.4972 GB, free: 43.62 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002852/0.2927, allocations: 120.3 kB / 0.4973 GB, free: 43.62 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002317/0.295, allocations: 0.9337 MB / 0.4982 GB, free: 43.39 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008831/0.3039, allocations: 3.984 MB / 0.5021 GB, free: 41.93 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01371/0.3176, allocations: 6.635 MB / 0.5086 GB, free: 39.59 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.008869/0.3265, allocations: 6.788 MB / 0.5152 GB, free: 36.95 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003123/0.3296, allocations: 1.558 MB / 0.5167 GB, free: 36.36 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1116/0.4412, allocations: 75.19 MB / 0.5901 GB, free: 8.641 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04537/0.4865, allocations: 31.69 MB / 0.6211 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.001193/0.4877, allocations: 244 kB / 0.6213 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01165/0.4994, allocations: 5.442 MB / 0.6266 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.001586/0.501, allocations: 1.145 MB / 0.6277 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.002342/0.5033, allocations: 1.06 MB / 0.6288 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.5138, allocations: 5.722 MB / 0.6344 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5138, allocations: 0 / 0.6344 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5138, allocations: 0 / 0.6344 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001066/0.5139, allocations: 0 / 0.6344 GB, free: 10.95 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: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.00725/0.5212, allocations: 3.489 MB / 0.6378 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.5212, allocations: 8.031 kB / 0.6378 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005138/0.5217, allocations: 343.3 kB / 0.6381 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008571/0.5226, allocations: 322.1 kB / 0.6384 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/0.5255, allocations: 1.59 MB / 0.64 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001955/0.5257, allocations: 266.5 kB / 0.6402 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002604/0.5259, allocations: 192 kB / 0.6404 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004476/0.5304, allocations: 3.661 MB / 0.644 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.994e-05/0.5304, allocations: 3.938 kB / 0.644 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002057/0.5306, allocations: 83.95 kB / 0.6441 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002561/0.5309, allocations: 259.7 kB / 0.6443 GB, free: 420 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004505/0.5354, allocations: 3.087 MB / 0.6473 GB, free: 13.32 MB / 0.5261 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.01388/0.5493, allocations: 10.17 MB / 0.6573 GB, free: 2.938 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/0.5518, allocations: 2.076 MB / 0.6593 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.5534, allocations: 1.107 MB / 0.6604 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004726/0.5582, allocations: 3.286 MB / 0.6636 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.5582, allocations: 51.88 kB / 0.6636 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004481/0.5586, allocations: 162.5 kB / 0.6638 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=157): time 3.938e-06/0.5587, allocations: 0 / 0.6638 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of matching and sorting (n=258): time 0.4082/0.9668, allocations: 56.14 MB / 0.7186 GB, free: 195.9 MB / 0.5417 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.0818/1.049, allocations: 51.72 MB / 0.7691 GB, free: 143.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/1.05, allocations: 1.892 MB / 0.771 GB, free: 141.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005019/1.051, allocations: 77.64 kB / 0.771 GB, free: 141.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003746/1.051, allocations: 1.111 MB / 0.7721 GB, free: 140.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004361/1.052, allocations: 0.8975 MB / 0.773 GB, free: 140.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006331/1.052, allocations: 0.5605 MB / 0.7736 GB, free: 139.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 2.138e-05/1.052, allocations: 309 kB / 0.7739 GB, free: 139.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002331/1.054, allocations: 2.184 MB / 0.776 GB, free: 137 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002403/1.057, allocations: 2.833 MB / 0.7787 GB, free: 133.9 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006488/1.063, allocations: 5.46 MB / 0.7841 GB, free: 128.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-05/1.063, allocations: 8 kB / 0.7841 GB, free: 128.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=358) (initialization): time 0.0102/1.074, allocations: 7.417 MB / 0.7913 GB, free: 120.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/1.074, allocations: 16.92 kB / 0.7913 GB, free: 120.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/1.074, allocations: 23.98 kB / 0.7914 GB, free: 120.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02301/1.097, allocations: 12.36 MB / 0.8034 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009464/1.098, allocations: 351.4 kB / 0.8038 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/1.108, allocations: 8.681 MB / 0.8123 GB, free: 99.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/1.11, allocations: 195.8 kB / 0.8124 GB, free: 99.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002573/1.11, allocations: 151.9 kB / 0.8126 GB, free: 98.86 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003029/1.113, allocations: 2.682 MB / 0.8152 GB, free: 96.17 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002436/1.116, allocations: 2.766 MB / 0.8179 GB, free: 93.14 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005862/1.121, allocations: 5.347 MB / 0.8231 GB, free: 87.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.83e-05/1.122, allocations: 4 kB / 0.8231 GB, free: 87.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=358) (initialization_lambda0): time 0.008395/1.13, allocations: 7.167 MB / 0.8301 GB, free: 80.27 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.13, allocations: 12 kB / 0.8301 GB, free: 80.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/1.13, allocations: 20 kB / 0.8302 GB, free: 80.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01558/1.146, allocations: 7.844 MB / 0.8378 GB, free: 72.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/1.147, allocations: 399.3 kB / 0.8382 GB, free: 72 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/1.158, allocations: 8.2 MB / 0.8462 GB, free: 63.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/1.161, allocations: 187.8 kB / 0.8464 GB, free: 63.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003611/1.161, allocations: 151.9 kB / 0.8465 GB, free: 63.41 MB / 0.5417 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 (170): * Single equations (assignments): 168 * 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.0006602/1.162, allocations: 344.2 kB / 0.8469 GB, free: 63.08 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005902/1.163, allocations: 258.4 kB / 0.8471 GB, free: 62.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01216/1.175, allocations: 7.887 MB / 0.8548 GB, free: 54.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-05/1.175, allocations: 32 kB / 0.8548 GB, free: 54.87 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.175, allocations: 0 / 0.8548 GB, free: 54.87 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01002/1.185, allocations: 6.927 MB / 0.8616 GB, free: 47.84 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01882/1.204, allocations: 13.04 MB / 0.8743 GB, free: 34.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/1.204, allocations: 7.984 kB / 0.8743 GB, free: 34.74 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005082/1.204, allocations: 187.8 kB / 0.8745 GB, free: 34.55 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02245/1.227, allocations: 11.69 MB / 0.8859 GB, free: 22.85 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005569/1.227, allocations: 83.97 kB / 0.886 GB, free: 22.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009341/1.236, allocations: 8.384 MB / 0.8942 GB, free: 14.32 MB / 0.5417 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.2357/1.472, allocations: 45.4 MB / 0.9385 GB, free: 191.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01925/1.491, allocations: 10.7 MB / 0.949 GB, free: 187.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00161/1.493, allocations: 0.7523 MB / 0.9497 GB, free: 187.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003832/1.493, allocations: 56.28 kB / 0.9498 GB, free: 187.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001691/1.495, allocations: 177 kB / 0.9499 GB, free: 187.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003599/1.495, allocations: 205.6 kB / 0.9501 GB, free: 187.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002309/1.496, allocations: 110.3 kB / 0.9502 GB, free: 187.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001378/1.497, allocations: 1.272 MB / 0.9515 GB, free: 186.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.01e-07/1.497, allocations: 3.969 kB / 0.9515 GB, free: 186.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006456/1.503, allocations: 2.917 MB / 0.9543 GB, free: 186.4 MB / 0.5417 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 (92): * Single equations (assignments): 86 * 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.02282/1.526, allocations: 13.42 MB / 0.9674 GB, free: 175 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01679/1.543, allocations: 8.813 MB / 0.9761 GB, free: 166.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/1.543, allocations: 0 / 0.9761 GB, free: 166.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005084/1.548, allocations: 3.028 MB / 0.979 GB, free: 163.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/1.551, allocations: 1.034 MB / 0.98 GB, free: 162.2 MB / 0.5417 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4683:9-4683:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:843:5-843: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.4449519785121083]