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.0009705/0.0009705, allocations: 84.34 kB / 20.67 MB, free: 3.887 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.0009463/0.0009463, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.8902/0.8902, allocations: 177.1 MB / 204.2 MB, free: 5.613 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.2194/0.2194, allocations: 34.85 MB / 295.6 MB, free: 468 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.432e-06/1.432e-06, allocations: 0 / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.762e-05, allocations: 3.125 kB / 444 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState): time 0.04481/0.04483, allocations: 81.38 MB / 0.5131 GB, free: 6.078 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02066/0.06549, allocations: 19.61 MB / 0.5323 GB, free: 8.656 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001748/0.06724, allocations: 126.4 kB / 0.5324 GB, free: 8.586 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001631/0.06887, allocations: 0.9225 MB / 0.5333 GB, free: 7.801 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006258/0.07513, allocations: 3.991 MB / 0.5372 GB, free: 4.715 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01023/0.08536, allocations: 6.727 MB / 0.5438 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.005562/0.09092, allocations: 6.801 MB / 0.5504 GB, free: 7.223 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.09234, allocations: 1.556 MB / 0.5519 GB, free: 5.648 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1097/0.202, allocations: 75.3 MB / 0.6254 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2109/0.4129, allocations: 31.72 MB / 0.6564 GB, free: 78.26 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0005811/0.4135, allocations: 243.6 kB / 0.6567 GB, free: 78.26 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008118/0.4216, allocations: 5.453 MB / 0.662 GB, free: 77.31 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0009601/0.4225, allocations: 1.163 MB / 0.6631 GB, free: 77.31 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.001421/0.424, allocations: 1.059 MB / 0.6641 GB, free: 77.31 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.006548/0.4305, allocations: 5.718 MB / 0.6697 GB, free: 77.24 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.4305, allocations: 0 / 0.6697 GB, free: 77.24 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.233e-06/0.4305, allocations: 4 kB / 0.6697 GB, free: 77.23 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.901e-05/0.4306, allocations: 1.031 kB / 0.6697 GB, free: 77.23 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.004687/0.4352, allocations: 3.488 MB / 0.6731 GB, free: 75.72 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.4353, allocations: 9.938 kB / 0.6732 GB, free: 75.72 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004206/0.4357, allocations: 344.6 kB / 0.6735 GB, free: 75.66 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005878/0.4363, allocations: 324.9 kB / 0.6738 GB, free: 75.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.4381, allocations: 1.577 MB / 0.6753 GB, free: 75.06 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/0.4383, allocations: 272.8 kB / 0.6756 GB, free: 74.93 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/0.4385, allocations: 187.7 kB / 0.6758 GB, free: 74.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00323/0.4417, allocations: 3.664 MB / 0.6793 GB, free: 74.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.4418, allocations: 5.062 kB / 0.6794 GB, free: 74.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001849/0.4419, allocations: 86.75 kB / 0.6794 GB, free: 74.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001608/0.4421, allocations: 252.2 kB / 0.6797 GB, free: 74.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002927/0.445, allocations: 3.096 MB / 0.6827 GB, free: 74.09 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.008538/0.4536, allocations: 10.16 MB / 0.6926 GB, free: 70.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.4557, allocations: 2.068 MB / 0.6946 GB, free: 69.81 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.4568, allocations: 1.106 MB / 0.6957 GB, free: 69.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003513/0.4603, allocations: 3.282 MB / 0.6989 GB, free: 66.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.4603, allocations: 50.31 kB / 0.699 GB, free: 66.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002599/0.4606, allocations: 158.2 kB / 0.6991 GB, free: 66.67 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=157): time 2.775e-06/0.4606, allocations: 3.984 kB / 0.6991 GB, free: 66.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=258): time 0.2441/0.7046, allocations: 55.17 MB / 0.753 GB, free: 13.6 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.08583/0.7904, allocations: 50.84 MB / 0.8027 GB, free: 10.62 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002508/0.7929, allocations: 1.897 MB / 0.8045 GB, free: 8.68 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004948/0.7934, allocations: 69.7 kB / 0.8046 GB, free: 8.605 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005192/0.794, allocations: 1.109 MB / 0.8057 GB, free: 7.496 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005674/0.7945, allocations: 0.898 MB / 0.8065 GB, free: 6.609 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008311/0.7954, allocations: 0.5664 MB / 0.8071 GB, free: 6.039 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 5.555e-05/0.7954, allocations: 304.2 kB / 0.8074 GB, free: 5.742 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002654/0.7981, allocations: 2.184 MB / 0.8095 GB, free: 3.551 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003067/0.8011, allocations: 2.82 MB / 0.8123 GB, free: 484 kB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006589/0.8077, allocations: 5.426 MB / 0.8176 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.8077, allocations: 7.938 kB / 0.8176 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=358) (initialization): time 0.009683/0.8174, allocations: 7.402 MB / 0.8248 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.8174, allocations: 12.16 kB / 0.8248 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/0.8175, allocations: 24.66 kB / 0.8248 GB, free: 3.445 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02303/0.8405, allocations: 11.92 MB / 0.8365 GB, free: 7.535 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000847/0.8413, allocations: 352.8 kB / 0.8368 GB, free: 7.215 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.8519, allocations: 8.663 MB / 0.8453 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.8538, allocations: 187.8 kB / 0.8455 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002646/0.8541, allocations: 155.9 kB / 0.8456 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003457/0.8575, allocations: 2.682 MB / 0.8482 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002817/0.8604, allocations: 2.761 MB / 0.8509 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006368/0.8667, allocations: 5.3 MB / 0.8561 GB, free: 2.949 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.656e-06/0.8667, allocations: 7.984 kB / 0.8561 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of matching and sorting (n=358) (initialization_lambda0): time 0.1563/1.023, allocations: 7.151 MB / 0.8631 GB, free: 247.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.023, allocations: 14.44 kB / 0.8631 GB, free: 247.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/1.023, allocations: 17.81 kB / 0.8631 GB, free: 247.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01308/1.036, allocations: 7.783 MB / 0.8707 GB, free: 246.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009834/1.037, allocations: 393 kB / 0.8711 GB, free: 246.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00883/1.046, allocations: 8.189 MB / 0.8791 GB, free: 243.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/1.048, allocations: 189.3 kB / 0.8793 GB, free: 243.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/1.048, allocations: 150 kB / 0.8794 GB, free: 243.1 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.0005973/1.049, allocations: 339.3 kB / 0.8797 GB, free: 242.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003431/1.049, allocations: 258.3 kB / 0.88 GB, free: 242.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009754/1.059, allocations: 7.863 MB / 0.8877 GB, free: 240.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.713e-05/1.059, allocations: 37.91 kB / 0.8877 GB, free: 240.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/1.059, allocations: 2.906 kB / 0.8877 GB, free: 240.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008597/1.067, allocations: 6.901 MB / 0.8944 GB, free: 237.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/1.084, allocations: 13.01 MB / 0.9071 GB, free: 232.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/1.084, allocations: 1.25 kB / 0.9071 GB, free: 232.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/1.085, allocations: 190.4 kB / 0.9073 GB, free: 232.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0202/1.105, allocations: 11.26 MB / 0.9183 GB, free: 230.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001899/1.105, allocations: 83.67 kB / 0.9184 GB, free: 230.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008467/1.113, allocations: 8.373 MB / 0.9266 GB, free: 223.3 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.06275/1.176, allocations: 44.44 MB / 0.97 GB, free: 178.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/1.189, allocations: 10.67 MB / 0.9804 GB, free: 168 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/1.19, allocations: 0.7526 MB / 0.9811 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002876/1.19, allocations: 51.95 kB / 0.9812 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/1.191, allocations: 171.9 kB / 0.9813 GB, free: 167 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/1.192, allocations: 206 kB / 0.9815 GB, free: 166.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001978/1.192, allocations: 115.9 kB / 0.9817 GB, free: 166.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001174/1.193, allocations: 1.277 MB / 0.9829 GB, free: 165.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/1.193, allocations: 0 / 0.9829 GB, free: 165.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00566/1.199, allocations: 2.927 MB / 0.9858 GB, free: 162.8 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.01804/1.217, allocations: 13.38 MB / 0.9988 GB, free: 149.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01301/1.23, allocations: 8.822 MB / 1.007 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.23, allocations: 0 / 1.007 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.004557/1.234, allocations: 3.021 MB / 1.01 GB, free: 137.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002883/1.237, allocations: 1.051 MB / 1.011 GB, free: 136.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.217979747802019]