Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.HeatingSystem.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.001843/0.001843, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 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.002267/0.002267, allocations: 205.5 kB / 24.51 MB, free: 3.945 MB / 14.72 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 1.397/1.397, allocations: 230.5 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Fluid.Examples.HeatingSystem,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_HeatingSystem",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.HeatingSystem,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_HeatingSystem",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 55.91 kB / 378.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2364, allocations: 53.4 MB / 431.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.09054/0.3269, allocations: 81.63 MB / 0.5015 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.032/0.3589, allocations: 19.6 MB / 0.5206 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002494/0.3614, allocations: 130.9 kB / 0.5207 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002368/0.3638, allocations: 0.9084 MB / 0.5216 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009222/0.373, allocations: 3.9 MB / 0.5254 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01372/0.3867, allocations: 6.046 MB / 0.5313 GB, free: 5.922 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.2526/0.6393, allocations: 7.414 MB / 0.5386 GB, free: 4.754 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003055/0.6423, allocations: 1.611 MB / 0.5402 GB, free: 4.691 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1616/0.8039, allocations: 74.49 MB / 0.6129 GB, free: 3.613 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.07396/0.8779, allocations: 31.91 MB / 0.6441 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001343/0.8792, allocations: 248 kB / 0.6443 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0145/0.8937, allocations: 5.519 MB / 0.6497 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002127/0.8958, allocations: 1.12 MB / 0.6508 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002706/0.8985, allocations: 1.266 MB / 0.652 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009669/0.9082, allocations: 5.413 MB / 0.6573 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.9082, allocations: 0 / 0.6573 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9082, allocations: 0 / 0.6573 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.218e-05/0.9083, allocations: 4 kB / 0.6573 GB, free: 10.07 MB / 0.5137 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.008603/0.9169, allocations: 3.514 MB / 0.6607 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.9169, allocations: 8.031 kB / 0.6608 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.795e-05/0.917, allocations: 57.67 kB / 0.6608 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005304/0.9175, allocations: 359.5 kB / 0.6611 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.9186, allocations: 326.1 kB / 0.6615 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003649/0.9223, allocations: 1.589 MB / 0.663 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/0.9225, allocations: 272.9 kB / 0.6633 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004505/0.923, allocations: 208.8 kB / 0.6635 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006268/0.9293, allocations: 3.685 MB / 0.6671 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.079e-05/0.9293, allocations: 7.094 kB / 0.6671 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000246/0.9295, allocations: 82.31 kB / 0.6672 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003367/0.9299, allocations: 255.1 kB / 0.6674 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005431/0.9353, allocations: 3.132 MB / 0.6705 GB, free: 12.53 MB / 0.5294 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.0177/0.953, allocations: 10.11 MB / 0.6803 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004073/0.9571, allocations: 2.132 MB / 0.6824 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002168/0.9593, allocations: 1.322 MB / 0.6837 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007573/0.9668, allocations: 3.525 MB / 0.6871 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/0.9669, allocations: 52.56 kB / 0.6872 GB, free: 11.49 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007231/0.9676, allocations: 182.5 kB / 0.6874 GB, free: 11.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=178): time 3.958e-06/0.9676, allocations: 8 kB / 0.6874 GB, free: 11.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=254): time 0.352/1.32, allocations: 38.64 MB / 0.7251 GB, free: 4.633 MB / 0.5762 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of inlineWhenForInitialization (initialization): time 0.01272/1.332, allocations: 3.029 MB / 0.7281 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002915/1.335, allocations: 1.841 MB / 0.7299 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005578/1.336, allocations: 73.7 kB / 0.7299 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009359/1.337, allocations: 1.082 MB / 0.731 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001369/1.338, allocations: 0.9104 MB / 0.7319 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001319/1.339, allocations: 0.5955 MB / 0.7325 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.34, allocations: 309.1 kB / 0.7328 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004683/1.344, allocations: 2.348 MB / 0.735 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005385/1.35, allocations: 2.949 MB / 0.7379 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/1.361, allocations: 5.367 MB / 0.7432 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2e-05/1.361, allocations: 4 kB / 0.7432 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of matching and sorting (n=362) (initialization): time 0.01625/1.377, allocations: 7.096 MB / 0.7501 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.267e-05/1.377, allocations: 18.5 kB / 0.7501 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.539e-05/1.377, allocations: 16 kB / 0.7501 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03128/1.408, allocations: 8.149 MB / 0.7581 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00296/1.411, allocations: 0.4935 MB / 0.7586 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2059/1.617, allocations: 6.8 MB / 0.7652 GB, free: 270.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004698/1.622, allocations: 413 kB / 0.7656 GB, free: 270.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004403/1.622, allocations: 169 kB / 0.7658 GB, free: 270.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004539/1.627, allocations: 2.829 MB / 0.7685 GB, free: 269.3 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003687/1.631, allocations: 2.896 MB / 0.7714 GB, free: 267.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007928/1.639, allocations: 5.258 MB / 0.7765 GB, free: 265.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.742e-05/1.639, allocations: 9.328 kB / 0.7765 GB, free: 265.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=362) (initialization_lambda0): time 0.01111/1.65, allocations: 6.854 MB / 0.7832 GB, free: 262.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.65, allocations: 12 kB / 0.7832 GB, free: 262.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/1.65, allocations: 23.56 kB / 0.7832 GB, free: 262.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01231/1.662, allocations: 4.911 MB / 0.788 GB, free: 258.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002727/1.665, allocations: 0.5312 MB / 0.7885 GB, free: 258.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009367/1.674, allocations: 6.336 MB / 0.7947 GB, free: 251.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004381/1.678, allocations: 415.3 kB / 0.7951 GB, free: 251.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004028/1.679, allocations: 163.9 kB / 0.7953 GB, free: 251.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (212): * Single equations (assignments): 207 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,10), (1,5), (18,107)} Notification: Performance of prepare postOptimizeDAE: time 0.0008661/1.68, allocations: 333 kB / 0.7956 GB, free: 250.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006294/1.68, allocations: 257.8 kB / 0.7958 GB, free: 250.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/1.695, allocations: 7.467 MB / 0.8031 GB, free: 243.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01344/1.708, allocations: 6.735 MB / 0.8097 GB, free: 236.6 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.077e-05/1.708, allocations: 7.984 kB / 0.8097 GB, free: 236.6 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01311/1.721, allocations: 6.893 MB / 0.8165 GB, free: 229.7 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0242/1.745, allocations: 12.74 MB / 0.8289 GB, free: 217 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/1.745, allocations: 0 / 0.8289 GB, free: 217 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002381/1.748, allocations: 467 kB / 0.8293 GB, free: 216.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01936/1.767, allocations: 6.184 MB / 0.8354 GB, free: 210.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008021/1.768, allocations: 107.9 kB / 0.8355 GB, free: 210.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01334/1.781, allocations: 14.08 MB / 0.8492 GB, free: 195.7 MB / 0.6075 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007373/1.789, allocations: 2.655 MB / 0.8518 GB, free: 193.1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01616/1.805, allocations: 10.08 MB / 0.8617 GB, free: 182.9 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001794/1.807, allocations: 0.7937 MB / 0.8624 GB, free: 182.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000534/1.807, allocations: 75.91 kB / 0.8625 GB, free: 182 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002996/1.81, allocations: 267.6 kB / 0.8628 GB, free: 181.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00052/1.811, allocations: 225.9 kB / 0.863 GB, free: 181.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002953/1.811, allocations: 123.9 kB / 0.8631 GB, free: 181.4 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001343/1.812, allocations: 1.264 MB / 0.8643 GB, free: 180.1 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/1.812, allocations: 7.938 kB / 0.8643 GB, free: 180.1 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.006986/1.819, allocations: 3.137 MB / 0.8674 GB, free: 177.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 ($STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * 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 (199): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,9), (2,10), (14,48)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02303/1.842, allocations: 12.34 MB / 0.8795 GB, free: 165.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.02166/1.864, allocations: 9.005 MB / 0.8883 GB, free: 156.1 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.535e-06/1.864, allocations: 0 / 0.8883 GB, free: 156.1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.009134/1.873, allocations: 3.782 MB / 0.8919 GB, free: 152.2 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005405/1.879, allocations: 1.085 MB / 0.893 GB, free: 151.1 MB / 0.6075 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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.926650138106197] Failed to read output from testmodel.py, exit status != 0: ['time', 'heater.mediums[1].h', 'heater.mediums[1].p', 'pipe.mediums[1].h', 'pipe.mediums[1].p', 'pipe.mediums[2].h', 'pipe.mediums[2].p', 'radiator.mediums[1].h', 'radiator.mediums[1].p', 'tank.level', 'tank.medium.h'] 1.8865070280153304 1.895841383 0.985265209 Calling exit ...