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.001521/0.001521, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001467/0.001467, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.419/1.419, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.001798/0.001798, allocations: 59.91 kB / 378.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2454, allocations: 53.39 MB / 431.9 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.HeatingSystem): time 0.1031/0.3485, allocations: 91.63 MB / 0.5113 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03223/0.3807, allocations: 21.53 MB / 0.5323 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002802/0.3835, allocations: 118.9 kB / 0.5325 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002799/0.3863, allocations: 0.959 MB / 0.5334 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009902/0.3962, allocations: 3.888 MB / 0.5372 GB, free: 192 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2506/0.6468, allocations: 6.047 MB / 0.5431 GB, free: 3.992 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008653/0.6555, allocations: 7.427 MB / 0.5503 GB, free: 3.984 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002802/0.6583, allocations: 1.62 MB / 0.5519 GB, free: 3.906 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1511/0.8094, allocations: 74.55 MB / 0.6247 GB, free: 5.766 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06735/0.8767, allocations: 31.9 MB / 0.6559 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001093/0.8778, allocations: 248 kB / 0.6561 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01546/0.8933, allocations: 6.166 MB / 0.6621 GB, free: 88 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.002153/0.8954, allocations: 1.122 MB / 0.6632 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003057/0.8985, allocations: 1.496 MB / 0.6647 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.9093, allocations: 5.559 MB / 0.6701 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.9093, allocations: 0 / 0.6701 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9093, allocations: 4 kB / 0.6701 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.298e-05/0.9094, allocations: 0 / 0.6701 GB, free: 8.23 MB / 0.5294 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.008946/0.9183, allocations: 3.522 MB / 0.6736 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.9184, allocations: 12.03 kB / 0.6736 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.923e-05/0.9185, allocations: 69.66 kB / 0.6736 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005472/0.919, allocations: 336.7 kB / 0.674 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.9202, allocations: 326.1 kB / 0.6743 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003181/0.9234, allocations: 1.585 MB / 0.6758 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002404/0.9237, allocations: 280.3 kB / 0.6761 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003349/0.924, allocations: 205 kB / 0.6763 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00522/0.9292, allocations: 3.31 MB / 0.6795 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.807e-05/0.9293, allocations: 11 kB / 0.6795 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002396/0.9295, allocations: 86.94 kB / 0.6796 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003164/0.9298, allocations: 250.5 kB / 0.6798 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005221/0.935, allocations: 3.129 MB / 0.6829 GB, free: 11.15 MB / 0.545 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.01978/0.9548, allocations: 13.53 MB / 0.6961 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004224/0.959, allocations: 2.147 MB / 0.6982 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/0.9612, allocations: 1.324 MB / 0.6995 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007901/0.9691, allocations: 3.874 MB / 0.7033 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.497e-05/0.9692, allocations: 55.84 kB / 0.7033 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007825/0.97, allocations: 194.5 kB / 0.7035 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=178): time 3.897e-06/0.97, allocations: 0 / 0.7035 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=254): time 0.3312/1.301, allocations: 38.63 MB / 0.7413 GB, free: 14.74 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 inlineWhenForInitialization (initialization): time 0.01194/1.313, allocations: 3.032 MB / 0.7442 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/1.316, allocations: 1.841 MB / 0.746 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0006958/1.317, allocations: 68.89 kB / 0.7461 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009778/1.318, allocations: 1.086 MB / 0.7471 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001264/1.319, allocations: 0.9185 MB / 0.748 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00126/1.32, allocations: 0.5995 MB / 0.7486 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001423/1.32, allocations: 305.1 kB / 0.7489 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004723/1.325, allocations: 2.348 MB / 0.7512 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005197/1.33, allocations: 2.942 MB / 0.7541 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1994/1.53, allocations: 5.365 MB / 0.7593 GB, free: 270.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.83e-05/1.53, allocations: 10.41 kB / 0.7593 GB, free: 270.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=362) (initialization): time 0.01272/1.542, allocations: 7.097 MB / 0.7663 GB, free: 267.8 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/1.542, allocations: 14.91 kB / 0.7663 GB, free: 267.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/1.542, allocations: 19.81 kB / 0.7663 GB, free: 267.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02505/1.567, allocations: 8.143 MB / 0.7742 GB, free: 266.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/1.57, allocations: 0.4963 MB / 0.7747 GB, free: 266.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/1.58, allocations: 6.804 MB / 0.7814 GB, free: 261.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004326/1.584, allocations: 415.3 kB / 0.7818 GB, free: 261.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003844/1.585, allocations: 175.8 kB / 0.7819 GB, free: 261.3 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004232/1.589, allocations: 2.816 MB / 0.7847 GB, free: 258.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003624/1.593, allocations: 2.898 MB / 0.7875 GB, free: 255.4 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007819/1.6, allocations: 5.262 MB / 0.7927 GB, free: 249.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.224e-05/1.6, allocations: 4 kB / 0.7927 GB, free: 249.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=362) (initialization_lambda0): time 0.01113/1.611, allocations: 6.85 MB / 0.7993 GB, free: 243.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/1.611, allocations: 14.19 kB / 0.7994 GB, free: 243.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/1.612, allocations: 20 kB / 0.7994 GB, free: 243.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01208/1.624, allocations: 4.923 MB / 0.8042 GB, free: 238.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002598/1.626, allocations: 0.5342 MB / 0.8047 GB, free: 237.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008969/1.635, allocations: 6.327 MB / 0.8109 GB, free: 231.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00458/1.64, allocations: 407.2 kB / 0.8113 GB, free: 231.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004173/1.64, allocations: 167.8 kB / 0.8114 GB, free: 230.9 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.0007541/1.641, allocations: 337.7 kB / 0.8118 GB, free: 230.6 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005299/1.641, allocations: 256.5 kB / 0.812 GB, free: 230.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0141/1.656, allocations: 7.472 MB / 0.8193 GB, free: 223 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01277/1.668, allocations: 6.729 MB / 0.8259 GB, free: 216.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/1.668, allocations: 8 kB / 0.8259 GB, free: 216.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01254/1.681, allocations: 6.888 MB / 0.8326 GB, free: 209.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02304/1.704, allocations: 13.54 MB / 0.8458 GB, free: 195.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/1.704, allocations: 3.062 kB / 0.8458 GB, free: 195.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002327/1.706, allocations: 459.3 kB / 0.8463 GB, free: 195.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01839/1.725, allocations: 6.186 MB / 0.8523 GB, free: 189 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007316/1.725, allocations: 111.9 kB / 0.8524 GB, free: 188.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/1.739, allocations: 14.12 MB / 0.8662 GB, free: 174.1 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.007696/1.746, allocations: 2.648 MB / 0.8688 GB, free: 171.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01699/1.763, allocations: 10.07 MB / 0.8786 GB, free: 161.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001979/1.765, allocations: 0.8055 MB / 0.8794 GB, free: 160.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005977/1.766, allocations: 67.88 kB / 0.8795 GB, free: 160.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00306/1.769, allocations: 279.6 kB / 0.8797 GB, free: 160.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004573/1.77, allocations: 229.9 kB / 0.88 GB, free: 159.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002795/1.77, allocations: 115.9 kB / 0.8801 GB, free: 159.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001369/1.771, allocations: 1.264 MB / 0.8813 GB, free: 158.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/1.771, allocations: 0 / 0.8813 GB, free: 158.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007791/1.779, allocations: 3.137 MB / 0.8844 GB, free: 155.6 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.02197/1.801, allocations: 12.35 MB / 0.8964 GB, free: 143.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.02103/1.822, allocations: 8.993 MB / 0.9052 GB, free: 134.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.822, allocations: 4 kB / 0.9052 GB, free: 134.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.009251/1.831, allocations: 3.779 MB / 0.9089 GB, free: 130.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005058/1.836, allocations: 1.085 MB / 0.91 GB, free: 129.3 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.9331108480109833] 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.8441732639912516 1.85274717 0.9410813219999999 Calling exit ...