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.0009955/0.0009955, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0009311/0.0009311, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.8354/0.8354, allocations: 158.6 MB / 185 MB, free: 3.031 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.1272/0.1272, allocations: 32.38 MB / 269.6 MB, free: 14.95 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 1.843e-06/1.843e-06, allocations: 0 / 407.6 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.134e-05, allocations: 2.281 kB / 407.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.2134/0.2134, allocations: 81.11 MB / 488.8 MB, free: 5.695 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02306/0.2365, allocations: 19.54 MB / 0.4964 GB, free: 2.547 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002435/0.2389, allocations: 118.9 kB / 0.4965 GB, free: 2.43 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.2411, allocations: 0.9353 MB / 0.4974 GB, free: 1.488 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008824/0.2499, allocations: 3.979 MB / 0.5013 GB, free: 13.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01154/0.2614, allocations: 6.646 MB / 0.5078 GB, free: 6.832 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.007649/0.2691, allocations: 6.774 MB / 0.5144 GB, free: 40 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002576/0.2716, allocations: 1.569 MB / 0.5159 GB, free: 14.45 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1059/0.3776, allocations: 75.18 MB / 0.5894 GB, free: 2.512 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.04203/0.4196, allocations: 31.69 MB / 0.6203 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.00084/0.4204, allocations: 244 kB / 0.6205 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.1963/0.6167, allocations: 5.442 MB / 0.6259 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001818/0.6185, allocations: 1.154 MB / 0.627 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00231/0.6208, allocations: 1.057 MB / 0.628 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.6314, allocations: 5.719 MB / 0.6336 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.84e-06/0.6314, allocations: 0 / 0.6336 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.645e-06/0.6314, allocations: 0 / 0.6336 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001023/0.6315, allocations: 0.9375 kB / 0.6336 GB, free: 107.5 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.008078/0.6396, allocations: 3.484 MB / 0.637 GB, free: 106 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.6397, allocations: 10.75 kB / 0.637 GB, free: 106 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000516/0.6402, allocations: 348.5 kB / 0.6373 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008648/0.6411, allocations: 321 kB / 0.6376 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002345/0.6434, allocations: 1.585 MB / 0.6392 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.6435, allocations: 268.3 kB / 0.6394 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/0.6438, allocations: 189.4 kB / 0.6396 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004044/0.6478, allocations: 3.668 MB / 0.6432 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/0.6479, allocations: 6.25 kB / 0.6432 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001964/0.6481, allocations: 84.23 kB / 0.6433 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00021/0.6483, allocations: 253.4 kB / 0.6435 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003646/0.6519, allocations: 3.088 MB / 0.6466 GB, free: 104.4 MB / 0.5105 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.01214/0.6641, allocations: 10.17 MB / 0.6565 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/0.6665, allocations: 2.075 MB / 0.6585 GB, free: 101 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.6676, allocations: 1.107 MB / 0.6596 GB, free: 101 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00458/0.6722, allocations: 3.287 MB / 0.6628 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.6722, allocations: 55.06 kB / 0.6629 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005998/0.6728, allocations: 175 kB / 0.663 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=157): time 4.047e-06/0.6728, allocations: 0 / 0.663 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=258): time 0.2475/0.9204, allocations: 56.14 MB / 0.7178 GB, free: 51.39 MB / 0.5105 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.08712/1.007, allocations: 51.73 MB / 0.7684 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002212/1.01, allocations: 1.9 MB / 0.7702 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008015/1.011, allocations: 69.7 kB / 0.7703 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000936/1.011, allocations: 1.11 MB / 0.7714 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009578/1.012, allocations: 0.9002 MB / 0.7722 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008866/1.013, allocations: 0.5605 MB / 0.7728 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.543e-05/1.013, allocations: 312.8 kB / 0.7731 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002933/1.016, allocations: 2.187 MB / 0.7752 GB, free: 8.359 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003322/1.02, allocations: 2.818 MB / 0.778 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007726/1.027, allocations: 5.469 MB / 0.7833 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.499e-05/1.027, allocations: 4 kB / 0.7833 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=358) (initialization): time 0.01235/1.04, allocations: 7.418 MB / 0.7906 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/1.04, allocations: 12 kB / 0.7906 GB, free: 8.219 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/1.04, allocations: 20 kB / 0.7906 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02591/1.066, allocations: 12.36 MB / 0.8027 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/1.067, allocations: 353.4 kB / 0.803 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/1.079, allocations: 8.682 MB / 0.8115 GB, free: 2.777 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/1.081, allocations: 187.8 kB / 0.8117 GB, free: 2.594 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004105/1.082, allocations: 163.9 kB / 0.8118 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004006/1.086, allocations: 2.682 MB / 0.8144 GB, free: 15.75 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003249/1.089, allocations: 2.756 MB / 0.8171 GB, free: 12.73 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007974/1.097, allocations: 5.348 MB / 0.8224 GB, free: 7.168 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.715e-05/1.097, allocations: 4 kB / 0.8224 GB, free: 7.164 MB / 0.573 GB Notification: Performance of matching and sorting (n=358) (initialization_lambda0): time 0.01225/1.109, allocations: 7.165 MB / 0.8294 GB, free: 56 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/1.109, allocations: 12 kB / 0.8294 GB, free: 44 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.88e-05/1.109, allocations: 27.56 kB / 0.8294 GB, free: 20 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01517/1.124, allocations: 7.845 MB / 0.8371 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/1.126, allocations: 391.4 kB / 0.8374 GB, free: 7.805 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1828/1.308, allocations: 8.202 MB / 0.8454 GB, free: 258.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002808/1.311, allocations: 193.5 kB / 0.8456 GB, free: 258.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004143/1.312, allocations: 147.3 kB / 0.8458 GB, free: 258.7 MB / 0.5886 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.0007378/1.312, allocations: 336.4 kB / 0.8461 GB, free: 258.5 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000546/1.313, allocations: 258.9 kB / 0.8463 GB, free: 258.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/1.325, allocations: 7.89 MB / 0.854 GB, free: 257.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.103e-05/1.325, allocations: 35.64 kB / 0.8541 GB, free: 257.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/1.325, allocations: 0 / 0.8541 GB, free: 257.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01036/1.335, allocations: 6.929 MB / 0.8608 GB, free: 254.8 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/1.352, allocations: 13.04 MB / 0.8736 GB, free: 249.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/1.352, allocations: 0 / 0.8736 GB, free: 249.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/1.353, allocations: 190.4 kB / 0.8738 GB, free: 249.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02161/1.374, allocations: 11.68 MB / 0.8852 GB, free: 242.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00049/1.375, allocations: 83.95 kB / 0.8852 GB, free: 242 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008822/1.384, allocations: 8.377 MB / 0.8934 GB, free: 233.7 MB / 0.5886 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.06935/1.453, allocations: 45.42 MB / 0.9378 GB, free: 188.4 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/1.466, allocations: 10.7 MB / 0.9482 GB, free: 177.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/1.468, allocations: 0.7601 MB / 0.949 GB, free: 176.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000405/1.468, allocations: 48 kB / 0.949 GB, free: 176.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/1.47, allocations: 174.6 kB / 0.9492 GB, free: 176.7 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002951/1.47, allocations: 206 kB / 0.9494 GB, free: 176.4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002056/1.47, allocations: 118.7 kB / 0.9495 GB, free: 176.3 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001221/1.472, allocations: 1.273 MB / 0.9507 GB, free: 175 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.61e-07/1.472, allocations: 0 / 0.9507 GB, free: 175 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006244/1.478, allocations: 2.918 MB / 0.9536 GB, free: 172.4 MB / 0.5886 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.01935/1.497, allocations: 13.42 MB / 0.9667 GB, free: 159 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01905/1.516, allocations: 8.817 MB / 0.9753 GB, free: 150.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/1.516, allocations: 384 / 0.9753 GB, free: 150.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.005442/1.522, allocations: 3.018 MB / 0.9783 GB, free: 147.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003752/1.525, allocations: 1.033 MB / 0.9793 GB, free: 146.1 MB / 0.5886 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.337484046816826]