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.000976/0.000976, allocations: 80.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009774/0.0009774, allocations: 164.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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.8707/0.8707, allocations: 177.4 MB / 204.6 MB, free: 5.297 MB / 186.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.2151/0.2151, allocations: 34.86 MB / 296 MB, free: 284 kB / 266.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 1.342e-06/1.342e-06, allocations: 0 / 445.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.719e-05, allocations: 2.281 kB / 445.5 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.04452/0.04454, allocations: 81.38 MB / 0.5146 GB, free: 4.816 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02027/0.06481, allocations: 19.61 MB / 0.5337 GB, free: 7.305 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.06635, allocations: 123.4 kB / 0.5338 GB, free: 7.234 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001519/0.06787, allocations: 0.9231 MB / 0.5347 GB, free: 6.449 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005603/0.07347, allocations: 3.992 MB / 0.5386 GB, free: 2.887 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009469/0.08294, allocations: 6.731 MB / 0.5452 GB, free: 12.16 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.004774/0.08771, allocations: 6.802 MB / 0.5518 GB, free: 5.34 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001297/0.08901, allocations: 1.556 MB / 0.5534 GB, free: 3.766 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09699/0.186, allocations: 75.29 MB / 0.6269 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2157/0.4017, allocations: 31.73 MB / 0.6579 GB, free: 76.63 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.000721/0.4024, allocations: 250.1 kB / 0.6581 GB, free: 76.63 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01026/0.4126, allocations: 5.453 MB / 0.6634 GB, free: 75.68 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.4138, allocations: 1.155 MB / 0.6646 GB, free: 75.68 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001642/0.4154, allocations: 1.062 MB / 0.6656 GB, free: 75.68 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.007283/0.4227, allocations: 5.725 MB / 0.6712 GB, free: 75.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4227, allocations: 0.5625 kB / 0.6712 GB, free: 75.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4227, allocations: 2.438 kB / 0.6712 GB, free: 75.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.856e-05/0.4227, allocations: 0.5312 kB / 0.6712 GB, free: 75.59 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.005926/0.4287, allocations: 3.488 MB / 0.6746 GB, free: 74.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.4287, allocations: 9.531 kB / 0.6746 GB, free: 74.07 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000521/0.4292, allocations: 345 kB / 0.6749 GB, free: 74.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007914/0.43, allocations: 322.3 kB / 0.6752 GB, free: 73.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/0.4323, allocations: 1.585 MB / 0.6768 GB, free: 73.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.4325, allocations: 271 kB / 0.677 GB, free: 73.28 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002978/0.4328, allocations: 187.1 kB / 0.6772 GB, free: 73.28 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003868/0.4367, allocations: 3.664 MB / 0.6808 GB, free: 72.47 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.4367, allocations: 3.375 kB / 0.6808 GB, free: 72.47 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002235/0.4369, allocations: 92.06 kB / 0.6809 GB, free: 72.47 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002066/0.4371, allocations: 248.7 kB / 0.6811 GB, free: 72.46 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003703/0.4408, allocations: 3.094 MB / 0.6842 GB, free: 72.45 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.01002/0.4509, allocations: 10.16 MB / 0.6941 GB, free: 68.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/0.453, allocations: 2.067 MB / 0.6961 GB, free: 67.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/0.454, allocations: 1.11 MB / 0.6972 GB, free: 66.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003647/0.4577, allocations: 3.276 MB / 0.7004 GB, free: 64.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.082e-05/0.4577, allocations: 55.25 kB / 0.7004 GB, free: 64.45 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002791/0.458, allocations: 167.8 kB / 0.7006 GB, free: 64.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=157): time 2.826e-06/0.458, allocations: 0 / 0.7006 GB, free: 64.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=258): time 0.2497/0.7076, allocations: 55.17 MB / 0.7545 GB, free: 11.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.08827/0.7959, allocations: 50.83 MB / 0.8041 GB, free: 8.289 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.798, allocations: 1.897 MB / 0.8059 GB, free: 6.352 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005833/0.7986, allocations: 69.7 kB / 0.806 GB, free: 6.277 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005765/0.7992, allocations: 1.114 MB / 0.8071 GB, free: 5.16 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006928/0.7998, allocations: 0.8949 MB / 0.808 GB, free: 4.277 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007784/0.8006, allocations: 0.5683 MB / 0.8085 GB, free: 3.703 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.8007, allocations: 301.1 kB / 0.8088 GB, free: 3.406 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002769/0.8035, allocations: 2.184 MB / 0.811 GB, free: 1.215 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003262/0.8067, allocations: 2.819 MB / 0.8137 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006955/0.8137, allocations: 5.424 MB / 0.819 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-05/0.8137, allocations: 7.938 kB / 0.819 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of matching and sorting (n=358) (initialization): time 0.01059/0.8243, allocations: 7.401 MB / 0.8262 GB, free: 1.148 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.8243, allocations: 12 kB / 0.8262 GB, free: 1.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.8243, allocations: 16 kB / 0.8263 GB, free: 1.121 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02428/0.8486, allocations: 11.94 MB / 0.8379 GB, free: 5.191 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.8497, allocations: 345.2 kB / 0.8383 GB, free: 4.879 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/0.8613, allocations: 8.67 MB / 0.8467 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/0.8637, allocations: 192 kB / 0.8469 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003133/0.864, allocations: 151.9 kB / 0.8471 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003696/0.8677, allocations: 2.684 MB / 0.8497 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002873/0.8706, allocations: 2.766 MB / 0.8524 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006535/0.8771, allocations: 5.295 MB / 0.8575 GB, free: 0.6094 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.28e-05/0.8772, allocations: 4 kB / 0.8575 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of matching and sorting (n=358) (initialization_lambda0): time 0.1642/1.041, allocations: 7.149 MB / 0.8645 GB, free: 245.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.041, allocations: 11.59 kB / 0.8645 GB, free: 245.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/1.041, allocations: 20.19 kB / 0.8646 GB, free: 245.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01337/1.055, allocations: 7.779 MB / 0.8722 GB, free: 244 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/1.056, allocations: 389.9 kB / 0.8725 GB, free: 244 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00918/1.065, allocations: 8.187 MB / 0.8805 GB, free: 240.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/1.067, allocations: 190.7 kB / 0.8807 GB, free: 240.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002464/1.067, allocations: 153.5 kB / 0.8809 GB, free: 240.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.0006051/1.068, allocations: 340.5 kB / 0.8812 GB, free: 240.4 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004188/1.068, allocations: 259.1 kB / 0.8814 GB, free: 240.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/1.079, allocations: 7.869 MB / 0.8891 GB, free: 237.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.091e-05/1.079, allocations: 31.81 kB / 0.8891 GB, free: 237.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.079, allocations: 3.688 kB / 0.8891 GB, free: 237.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008932/1.088, allocations: 6.905 MB / 0.8959 GB, free: 235.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01757/1.105, allocations: 13 MB / 0.9086 GB, free: 230 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.105, allocations: 0 / 0.9086 GB, free: 230 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005097/1.106, allocations: 188.3 kB / 0.9088 GB, free: 230 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02122/1.127, allocations: 11.27 MB / 0.9198 GB, free: 227.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004272/1.127, allocations: 83.06 kB / 0.9198 GB, free: 227.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008986/1.136, allocations: 8.362 MB / 0.928 GB, free: 220.1 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.06483/1.201, allocations: 44.45 MB / 0.9714 GB, free: 175.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/1.214, allocations: 10.68 MB / 0.9818 GB, free: 164.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/1.215, allocations: 0.7509 MB / 0.9826 GB, free: 164.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003091/1.216, allocations: 52 kB / 0.9826 GB, free: 164.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/1.217, allocations: 167.9 kB / 0.9828 GB, free: 164 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002762/1.217, allocations: 213.9 kB / 0.983 GB, free: 163.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/1.218, allocations: 107.9 kB / 0.9831 GB, free: 163.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001175/1.219, allocations: 1.277 MB / 0.9843 GB, free: 162.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/1.219, allocations: 0 / 0.9843 GB, free: 162.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005729/1.225, allocations: 2.928 MB / 0.9872 GB, free: 159.7 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.01845/1.243, allocations: 13.39 MB / 1 GB, free: 146.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01381/1.257, allocations: 8.827 MB / 1.009 GB, free: 137.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/1.257, allocations: 0 / 1.009 GB, free: 137.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00481/1.262, allocations: 3.01 MB / 1.012 GB, free: 134.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/1.265, allocations: 1.062 MB / 1.013 GB, free: 133.5 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 659] [Calling sys.exit(0), Time elapsed: 3.14798872359097]