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.0009551/0.0009551, allocations: 116.4 kB / 20.44 MB, free: 4.594 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.0009535/0.0009535, allocations: 221.3 kB / 23.74 MB, free: 2.125 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.9267/0.9267, allocations: 231.1 MB / 258 MB, free: 8.934 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.1456/0.1456, allocations: 47.71 MB / 362.3 MB, free: 1.699 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.001971/0.001971, allocations: 103.8 kB / 0.4997 GB, free: 5.137 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08934/0.09131, allocations: 66.37 MB / 0.5646 GB, free: 2.637 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.2355/0.3268, allocations: 81.76 MB / 0.6444 GB, free: 4.562 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.02228/0.3491, allocations: 19.63 MB / 0.6636 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002299/0.3514, allocations: 118.9 kB / 0.6637 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002087/0.3534, allocations: 0.9123 MB / 0.6646 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.007245/0.3607, allocations: 3.888 MB / 0.6684 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.009397/0.3701, allocations: 5.965 MB / 0.6742 GB, free: 5.988 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.007212/0.3773, allocations: 7.221 MB / 0.6812 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002157/0.3795, allocations: 1.588 MB / 0.6828 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.09076/0.4702, allocations: 74.43 MB / 0.7555 GB, free: 1.969 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03617/0.5064, allocations: 31.84 MB / 0.7866 GB, free: 1.789 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001038/0.5074, allocations: 244 kB / 0.7868 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00936/0.5168, allocations: 5.412 MB / 0.7921 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.001387/0.5182, allocations: 1.11 MB / 0.7932 GB, free: 11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001957/0.5201, allocations: 1.245 MB / 0.7944 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.007821/0.528, allocations: 5.396 MB / 0.7997 GB, free: 4.328 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.528, allocations: 4 kB / 0.7997 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.528, allocations: 0 / 0.7997 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001055/0.5281, allocations: 0 / 0.7997 GB, free: 4.324 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.00644/0.5345, allocations: 3.497 MB / 0.8031 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.5345, allocations: 8.031 kB / 0.8031 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004801/0.535, allocations: 343.4 kB / 0.8034 GB, free: 428 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007838/0.5358, allocations: 326.1 kB / 0.8037 GB, free: 100 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1894/0.7252, allocations: 1.581 MB / 0.8053 GB, free: 214.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.7254, allocations: 268.2 kB / 0.8055 GB, free: 214 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003402/0.7258, allocations: 187.6 kB / 0.8057 GB, free: 214 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004099/0.7299, allocations: 3.665 MB / 0.8093 GB, free: 212.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/0.7299, allocations: 5.938 kB / 0.8093 GB, free: 212.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/0.7301, allocations: 83.86 kB / 0.8094 GB, free: 212.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002196/0.7303, allocations: 258.2 kB / 0.8096 GB, free: 212.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004016/0.7343, allocations: 3.1 MB / 0.8126 GB, free: 211.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.01314/0.7475, allocations: 10.16 MB / 0.8226 GB, free: 205.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/0.7502, allocations: 2.086 MB / 0.8246 GB, free: 204.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/0.7515, allocations: 1.104 MB / 0.8257 GB, free: 204.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004931/0.7564, allocations: 3.271 MB / 0.8289 GB, free: 203.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.7564, allocations: 50.78 kB / 0.8289 GB, free: 203 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004644/0.7569, allocations: 156.8 kB / 0.8291 GB, free: 202.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=158): time 3.597e-06/0.7569, allocations: 1.125 kB / 0.8291 GB, free: 202.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=259): time 0.2502/1.007, allocations: 55.01 MB / 0.8828 GB, free: 158 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.06946/1.077, allocations: 44.4 MB / 0.9261 GB, free: 113.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/1.078, allocations: 1.897 MB / 0.928 GB, free: 111.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0005302/1.079, allocations: 69.7 kB / 0.9281 GB, free: 111.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000381/1.079, allocations: 1.11 MB / 0.9291 GB, free: 110.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005539/1.08, allocations: 0.9173 MB / 0.93 GB, free: 109.2 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007206/1.08, allocations: 0.5683 MB / 0.9306 GB, free: 108.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 2.057e-05/1.08, allocations: 309.2 kB / 0.9309 GB, free: 108.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002412/1.083, allocations: 2.18 MB / 0.933 GB, free: 106.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002612/1.085, allocations: 2.822 MB / 0.9358 GB, free: 103 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005959/1.091, allocations: 5.41 MB / 0.9411 GB, free: 97.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/1.091, allocations: 4 kB / 0.9411 GB, free: 97.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=359) (initialization): time 0.009032/1.1, allocations: 7.391 MB / 0.9483 GB, free: 89.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/1.101, allocations: 12 kB / 0.9483 GB, free: 89.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.23e-05/1.101, allocations: 20 kB / 0.9483 GB, free: 89.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02144/1.122, allocations: 11.83 MB / 0.9599 GB, free: 78.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009427/1.123, allocations: 347.4 kB / 0.9602 GB, free: 77.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009654/1.133, allocations: 8.631 MB / 0.9686 GB, free: 69.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/1.135, allocations: 195.8 kB / 0.9688 GB, free: 68.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002723/1.135, allocations: 155.9 kB / 0.969 GB, free: 68.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002987/1.138, allocations: 2.673 MB / 0.9716 GB, free: 66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002422/1.14, allocations: 2.759 MB / 0.9743 GB, free: 62.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005557/1.146, allocations: 5.285 MB / 0.9794 GB, free: 57.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.189e-05/1.146, allocations: 8 kB / 0.9794 GB, free: 57.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=359) (initialization_lambda0): time 0.008089/1.154, allocations: 7.135 MB / 0.9864 GB, free: 50.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.154, allocations: 12 kB / 0.9864 GB, free: 50.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/1.154, allocations: 24.89 kB / 0.9864 GB, free: 50.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01225/1.166, allocations: 7.671 MB / 0.9939 GB, free: 42.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/1.167, allocations: 391.4 kB / 0.9943 GB, free: 42.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008819/1.176, allocations: 8.147 MB / 1.002 GB, free: 33.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/1.178, allocations: 191.8 kB / 1.002 GB, free: 33.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002844/1.178, allocations: 155.9 kB / 1.003 GB, free: 33.55 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.0005833/1.179, allocations: 331.1 kB / 1.003 GB, free: 33.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004378/1.179, allocations: 266.3 kB / 1.003 GB, free: 32.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008986/1.188, allocations: 7.709 MB / 1.011 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/1.188, allocations: 32 kB / 1.011 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.188, allocations: 0 / 1.011 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007626/1.196, allocations: 6.782 MB / 1.017 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/1.211, allocations: 13 MB / 1.03 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.211, allocations: 4.062 kB / 1.03 GB, free: 5.223 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004909/1.211, allocations: 195.8 kB / 1.03 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02103/1.232, allocations: 11.24 MB / 1.041 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004397/1.233, allocations: 83.89 kB / 1.041 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01069/1.243, allocations: 8.343 MB / 1.049 GB, free: 1.32 MB / 0.6355 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.256/1.499, allocations: 41.22 MB / 1.09 GB, free: 208.4 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/1.512, allocations: 10.34 MB / 1.1 GB, free: 199.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/1.513, allocations: 0.7614 MB / 1.101 GB, free: 199.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003691/1.514, allocations: 59.7 kB / 1.101 GB, free: 199 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/1.515, allocations: 163.6 kB / 1.101 GB, free: 198.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003251/1.515, allocations: 210 kB / 1.101 GB, free: 198.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001893/1.516, allocations: 108 kB / 1.101 GB, free: 198.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001139/1.517, allocations: 1.277 MB / 1.102 GB, free: 197.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.8e-07/1.517, allocations: 0 / 1.102 GB, free: 197.3 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.005797/1.523, allocations: 2.92 MB / 1.105 GB, free: 194.7 MB / 0.6355 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.018/1.541, allocations: 12.92 MB / 1.118 GB, free: 181.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01398/1.555, allocations: 8.811 MB / 1.126 GB, free: 173 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.555, allocations: 1 kB / 1.126 GB, free: 173 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004788/1.559, allocations: 3.015 MB / 1.129 GB, free: 170 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00312/1.562, allocations: 1.059 MB / 1.13 GB, free: 169 MB / 0.6355 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.5393193094059825]