Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001531/0.001531, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.001976/0.001976, allocations: 169.9 kB / 23.94 MB, free: 0.6211 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.9391/0.9391, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2841/0.2841, allocations: 32.8 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 441.2 MB, free: 2.684 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.617e-05, allocations: 8.391 kB / 441.2 MB, free: 2.676 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.2407/0.2408, allocations: 81.38 MB / 0.5103 GB, free: 10.25 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02957/0.2703, allocations: 19.6 MB / 0.5294 GB, free: 13.2 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003181/0.2735, allocations: 123.7 kB / 0.5296 GB, free: 13.13 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003023/0.2765, allocations: 0.9258 MB / 0.5305 GB, free: 12.34 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009981/0.2865, allocations: 3.996 MB / 0.5344 GB, free: 9.254 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01462/0.3011, allocations: 6.716 MB / 0.5409 GB, free: 3.215 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.008014/0.3091, allocations: 6.821 MB / 0.5476 GB, free: 12.37 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002778/0.3119, allocations: 1.544 MB / 0.5491 GB, free: 10.8 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1014/0.4133, allocations: 75.29 MB / 0.6226 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2664/0.6798, allocations: 31.73 MB / 0.6536 GB, free: 84.48 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.00114/0.6809, allocations: 246.3 kB / 0.6538 GB, free: 84.48 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01143/0.6923, allocations: 5.449 MB / 0.6592 GB, free: 83.54 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.002295/0.6946, allocations: 1.156 MB / 0.6603 GB, free: 83.54 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.003187/0.6978, allocations: 1.069 MB / 0.6613 GB, free: 83.54 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.01254/0.7104, allocations: 5.717 MB / 0.6669 GB, free: 83.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7104, allocations: 0 / 0.6669 GB, free: 83.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.954e-06/0.7104, allocations: 0.8438 kB / 0.6669 GB, free: 83.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001109/0.7105, allocations: 5.172 kB / 0.6669 GB, free: 83.49 MB / 0.5261 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.009328/0.7198, allocations: 3.484 MB / 0.6703 GB, free: 81.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.7199, allocations: 10.14 kB / 0.6703 GB, free: 81.98 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006586/0.7205, allocations: 348.9 kB / 0.6707 GB, free: 81.92 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.7216, allocations: 320.7 kB / 0.671 GB, free: 81.76 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/0.7248, allocations: 1.587 MB / 0.6725 GB, free: 81.31 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002171/0.725, allocations: 263.7 kB / 0.6728 GB, free: 81.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003097/0.7253, allocations: 193.7 kB / 0.673 GB, free: 81.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005658/0.731, allocations: 3.66 MB / 0.6765 GB, free: 80.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.997e-05/0.731, allocations: 5.125 kB / 0.6765 GB, free: 80.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002514/0.7313, allocations: 89.94 kB / 0.6766 GB, free: 80.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003596/0.7317, allocations: 253.2 kB / 0.6769 GB, free: 80.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004737/0.7364, allocations: 3.089 MB / 0.6799 GB, free: 80.35 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.01204/0.7484, allocations: 10.17 MB / 0.6898 GB, free: 77.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/0.7508, allocations: 2.063 MB / 0.6918 GB, free: 76.96 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.7519, allocations: 1.112 MB / 0.6929 GB, free: 76.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004802/0.7567, allocations: 3.274 MB / 0.6961 GB, free: 75.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.7567, allocations: 53.94 kB / 0.6962 GB, free: 75.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005667/0.7573, allocations: 163.8 kB / 0.6963 GB, free: 75.35 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=157): time 6.783e-06/0.7573, allocations: 0 / 0.6963 GB, free: 75.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=258): time 0.2589/1.016, allocations: 55.18 MB / 0.7502 GB, free: 22.25 MB / 0.5261 GB Error: Jacobian StateSetJac0 contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of inlineWhenForInitialization (initialization): time 0.1364/1.153, allocations: 50.83 MB / 0.7998 GB, free: 3.277 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002359/1.155, allocations: 1.901 MB / 0.8017 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005784/1.156, allocations: 65.7 kB / 0.8018 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005468/1.156, allocations: 1.118 MB / 0.8029 GB, free: 148 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006454/1.157, allocations: 0.8921 MB / 0.8037 GB, free: 15.26 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000778/1.158, allocations: 0.5643 MB / 0.8043 GB, free: 14.69 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.026e-05/1.158, allocations: 316.4 kB / 0.8046 GB, free: 14.38 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002648/1.16, allocations: 2.179 MB / 0.8067 GB, free: 12.2 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003239/1.163, allocations: 2.824 MB / 0.8095 GB, free: 9.121 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00696/1.17, allocations: 5.426 MB / 0.8148 GB, free: 3.473 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.517e-05/1.17, allocations: 7.75 kB / 0.8148 GB, free: 3.469 MB / 0.573 GB Notification: Performance of matching and sorting (n=358) (initialization): time 0.01015/1.181, allocations: 7.395 MB / 0.822 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/1.181, allocations: 16 kB / 0.822 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/1.181, allocations: 20.05 kB / 0.822 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02502/1.206, allocations: 11.94 MB / 0.8337 GB, free: 184 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/1.207, allocations: 349.3 kB / 0.834 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01104/1.218, allocations: 8.661 MB / 0.8425 GB, free: 7.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002542/1.22, allocations: 199.8 kB / 0.8427 GB, free: 6.965 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003751/1.221, allocations: 155.9 kB / 0.8428 GB, free: 6.812 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00367/1.224, allocations: 2.686 MB / 0.8454 GB, free: 4.117 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002809/1.227, allocations: 2.757 MB / 0.8481 GB, free: 1.105 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006338/1.234, allocations: 5.294 MB / 0.8533 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.699e-05/1.234, allocations: 4 kB / 0.8533 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=358) (initialization_lambda0): time 0.009325/1.243, allocations: 7.144 MB / 0.8603 GB, free: 4.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/1.243, allocations: 12 kB / 0.8603 GB, free: 4.488 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/1.243, allocations: 20 kB / 0.8603 GB, free: 4.469 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1744/1.417, allocations: 7.788 MB / 0.8679 GB, free: 252.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/1.419, allocations: 390.4 kB / 0.8683 GB, free: 252.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/1.431, allocations: 8.183 MB / 0.8763 GB, free: 249.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002906/1.434, allocations: 194.4 kB / 0.8765 GB, free: 249.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003159/1.434, allocations: 146.4 kB / 0.8766 GB, free: 249.7 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 (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.00072/1.435, allocations: 342.5 kB / 0.8769 GB, free: 249.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000542/1.435, allocations: 259.3 kB / 0.8772 GB, free: 249.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/1.448, allocations: 7.855 MB / 0.8848 GB, free: 246.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-05/1.449, allocations: 35.95 kB / 0.8849 GB, free: 246.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/1.449, allocations: 11.09 kB / 0.8849 GB, free: 246.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01017/1.459, allocations: 6.897 MB / 0.8916 GB, free: 244.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02055/1.479, allocations: 12.99 MB / 0.9043 GB, free: 239.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/1.479, allocations: 1.781 kB / 0.9043 GB, free: 239.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006049/1.48, allocations: 194.8 kB / 0.9045 GB, free: 239.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02527/1.505, allocations: 11.26 MB / 0.9155 GB, free: 237.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006691/1.506, allocations: 88.64 kB / 0.9156 GB, free: 237.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00964/1.515, allocations: 8.365 MB / 0.9238 GB, free: 234.4 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.07064/1.586, allocations: 44.44 MB / 0.9672 GB, free: 190.6 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/1.6, allocations: 10.68 MB / 0.9776 GB, free: 179.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/1.601, allocations: 0.7637 MB / 0.9783 GB, free: 179.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003607/1.602, allocations: 44 kB / 0.9784 GB, free: 179 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/1.603, allocations: 175.8 kB / 0.9785 GB, free: 178.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/1.603, allocations: 206 kB / 0.9787 GB, free: 178.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/1.604, allocations: 111.9 kB / 0.9788 GB, free: 178.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001301/1.605, allocations: 1.273 MB / 0.9801 GB, free: 177.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/1.605, allocations: 0 / 0.9801 GB, free: 177.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.007621/1.612, allocations: 2.934 MB / 0.983 GB, free: 174.6 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 (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.02059/1.633, allocations: 13.38 MB / 0.996 GB, free: 161.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01472/1.648, allocations: 8.824 MB / 1.005 GB, free: 152.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.648, allocations: 0 / 1.005 GB, free: 152.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.004934/1.653, allocations: 3.023 MB / 1.008 GB, free: 149.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003225/1.656, allocations: 1.051 MB / 1.009 GB, free: 148.3 MB / 0.6198 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.6897204592823982]