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.001205/0.001205, allocations: 104.4 kB / 19.7 MB, free: 444 kB / 13.93 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.0009289/0.0009289, allocations: 211.7 kB / 22.99 MB, free: 2.988 MB / 13.93 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.9097/0.9097, allocations: 207.7 MB / 233.8 MB, free: 11.46 MB / 186.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.242/0.242, allocations: 44.25 MB / 330.3 MB, free: 13.17 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002584/0.002584, allocations: 82.62 kB / 469.1 MB, free: 27.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1053, allocations: 61.04 MB / 0.5177 GB, free: 268 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.2749/0.3802, allocations: 81.47 MB / 0.5972 GB, free: 3.215 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01986/0.4001, allocations: 19.56 MB / 0.6164 GB, free: 2.43 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.4015, allocations: 125.7 kB / 0.6165 GB, free: 2.426 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.403, allocations: 0.917 MB / 0.6174 GB, free: 2.254 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005882/0.4089, allocations: 3.87 MB / 0.6211 GB, free: 0.793 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0109/0.4198, allocations: 5.916 MB / 0.6269 GB, free: 13.66 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00692/0.4267, allocations: 7.195 MB / 0.634 GB, free: 9.902 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00202/0.4287, allocations: 1.595 MB / 0.6355 GB, free: 8.773 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0808/0.5095, allocations: 74.31 MB / 0.7081 GB, free: 2.953 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03438/0.5439, allocations: 31.8 MB / 0.7391 GB, free: 2.805 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0006542/0.5446, allocations: 244 kB / 0.7394 GB, free: 2.566 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00806/0.5526, allocations: 5.404 MB / 0.7446 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.000973/0.5536, allocations: 1.098 MB / 0.7457 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.00144/0.555, allocations: 1.253 MB / 0.7469 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.006375/0.5614, allocations: 5.384 MB / 0.7522 GB, free: 5.371 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.5614, allocations: 3.938 kB / 0.7522 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.695e-06/0.5614, allocations: 0 / 0.7522 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.461e-05/0.5615, allocations: 0 / 0.7522 GB, free: 5.367 MB / 0.5573 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.004773/0.5663, allocations: 3.501 MB / 0.7556 GB, free: 1.812 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.5663, allocations: 8.031 kB / 0.7556 GB, free: 1.805 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003865/0.5667, allocations: 347.3 kB / 0.756 GB, free: 1.453 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000595/0.5673, allocations: 326.1 kB / 0.7563 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.5692, allocations: 1.574 MB / 0.7578 GB, free: 15.5 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.5693, allocations: 274 kB / 0.7581 GB, free: 15.22 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002109/0.5695, allocations: 192 kB / 0.7583 GB, free: 15.03 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003543/0.5731, allocations: 3.665 MB / 0.7618 GB, free: 11.15 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.5731, allocations: 7.938 kB / 0.7618 GB, free: 11.14 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/0.5733, allocations: 83.95 kB / 0.7619 GB, free: 11.06 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001834/0.5734, allocations: 247.8 kB / 0.7622 GB, free: 10.82 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003401/0.5768, allocations: 3.099 MB / 0.7652 GB, free: 7.719 MB / 0.573 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.01078/0.5876, allocations: 10.18 MB / 0.7751 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.5902, allocations: 2.078 MB / 0.7772 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.5914, allocations: 1.11 MB / 0.7782 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004972/0.5964, allocations: 3.274 MB / 0.7814 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.5964, allocations: 55.86 kB / 0.7815 GB, free: 6.758 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003252/0.5968, allocations: 162.6 kB / 0.7816 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=158): time 5.68e-06/0.5968, allocations: 4 kB / 0.7816 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of matching and sorting (n=259): time 0.4292/1.026, allocations: 55.97 MB / 0.8363 GB, free: 236.2 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.06585/1.092, allocations: 45.31 MB / 0.8805 GB, free: 201.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/1.094, allocations: 1.896 MB / 0.8824 GB, free: 199.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0007006/1.095, allocations: 69.7 kB / 0.8825 GB, free: 199.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005398/1.095, allocations: 1.119 MB / 0.8836 GB, free: 198.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005621/1.096, allocations: 0.9119 MB / 0.8844 GB, free: 197.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006986/1.097, allocations: 0.5644 MB / 0.885 GB, free: 196.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 2.681e-05/1.097, allocations: 305.1 kB / 0.8853 GB, free: 196.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002251/1.099, allocations: 2.18 MB / 0.8874 GB, free: 194.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/1.101, allocations: 2.821 MB / 0.8902 GB, free: 191.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005628/1.107, allocations: 5.453 MB / 0.8955 GB, free: 185.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/1.107, allocations: 8 kB / 0.8955 GB, free: 185.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.00802/1.115, allocations: 7.403 MB / 0.9027 GB, free: 178 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.115, allocations: 16 kB / 0.9028 GB, free: 178 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/1.115, allocations: 16 kB / 0.9028 GB, free: 178 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02089/1.136, allocations: 12.25 MB / 0.9147 GB, free: 165.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007386/1.137, allocations: 355.3 kB / 0.9151 GB, free: 165.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008774/1.146, allocations: 8.647 MB / 0.9235 GB, free: 156.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/1.147, allocations: 195.8 kB / 0.9237 GB, free: 156.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002228/1.147, allocations: 160.8 kB / 0.9238 GB, free: 156.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00289/1.15, allocations: 2.676 MB / 0.9265 GB, free: 153.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002316/1.153, allocations: 2.755 MB / 0.9292 GB, free: 150.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005438/1.158, allocations: 5.336 MB / 0.9344 GB, free: 145 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.297e-06/1.158, allocations: 4 kB / 0.9344 GB, free: 145 MB / 0.6198 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.007948/1.166, allocations: 7.144 MB / 0.9413 GB, free: 137.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/1.166, allocations: 16.14 kB / 0.9414 GB, free: 137.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/1.166, allocations: 24 kB / 0.9414 GB, free: 137.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01206/1.178, allocations: 7.737 MB / 0.9489 GB, free: 130 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008758/1.179, allocations: 391.3 kB / 0.9493 GB, free: 129.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008445/1.187, allocations: 8.167 MB / 0.9573 GB, free: 121.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/1.189, allocations: 195.8 kB / 0.9575 GB, free: 121.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/1.189, allocations: 143.9 kB / 0.9576 GB, free: 121 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.0006067/1.19, allocations: 339.6 kB / 0.9579 GB, free: 120.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000371/1.19, allocations: 258.4 kB / 0.9582 GB, free: 120.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008305/1.199, allocations: 7.745 MB / 0.9657 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/1.199, allocations: 31.98 kB / 0.9658 GB, free: 112.6 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/1.199, allocations: 3.938 kB / 0.9658 GB, free: 112.6 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00687/1.206, allocations: 6.806 MB / 0.9724 GB, free: 105.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/1.219, allocations: 13.03 MB / 0.9852 GB, free: 92.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.219, allocations: 0 / 0.9852 GB, free: 92.65 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/1.22, allocations: 183.8 kB / 0.9853 GB, free: 92.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02006/1.24, allocations: 11.66 MB / 0.9967 GB, free: 80.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002907/1.24, allocations: 87.89 kB / 0.9968 GB, free: 80.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/1.253, allocations: 8.363 MB / 1.005 GB, free: 72.29 MB / 0.6198 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.06236/1.315, allocations: 42.21 MB / 1.046 GB, free: 29.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/1.327, allocations: 10.37 MB / 1.056 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/1.329, allocations: 0.7557 MB / 1.057 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003578/1.329, allocations: 52 kB / 1.057 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/1.331, allocations: 175.9 kB / 1.057 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003871/1.331, allocations: 206 kB / 1.057 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002361/1.331, allocations: 111.9 kB / 1.058 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001289/1.333, allocations: 1.277 MB / 1.059 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9e-08/1.333, allocations: 0 / 1.059 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005785/1.338, allocations: 2.918 MB / 1.062 GB, free: 14.02 MB / 0.6198 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.0196/1.358, allocations: 12.94 MB / 1.074 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.2099/1.568, allocations: 8.812 MB / 1.083 GB, free: 235.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/1.568, allocations: 1.344 kB / 1.083 GB, free: 235.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.005307/1.573, allocations: 3.015 MB / 1.086 GB, free: 234.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/1.576, allocations: 1.042 MB / 1.087 GB, free: 234.2 MB / 0.6198 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.604854633100331]