Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.HeatingOfAlcohol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006349/0.0006349, allocations: 76.16 kB / 9.861 MB, free: 0.8281 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000889/0.001524, allocations: 443.8 kB / 10.29 MB, free: 404 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006775/0.0006775, allocations: 141.2 kB / 11.17 MB, free: 3 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008677/0.001545, allocations: 475.6 kB / 11.64 MB, free: 2.531 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9478/0.9478, allocations: 177.2 MB / 189.5 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06795/1.016, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.0749/0.0749, allocations: 17.35 MB / 261.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007293/0.08219, allocations: 6.939 MB / 268.2 MB, free: 6.52 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 269.4 MB, free: 5.301 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.486e-06/9.668e-06, allocations: 9.547 kB / 269.4 MB, free: 5.293 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfAlcohol): time 0.1091/0.1091, allocations: 8.041 MB / 277.5 MB, free: 1.531 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008699/0.1178, allocations: 8.749 MB / 286.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006327/0.1184, allocations: 24.5 kB / 286.3 MB, free: 12.58 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001783/0.1202, allocations: 0.857 MB / 287.1 MB, free: 12.21 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.1216, allocations: 0.8031 MB / 287.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.1233, allocations: 0.9245 MB / 288.8 MB, free: 11.15 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001556/0.1249, allocations: 1.931 MB / 290.8 MB, free: 10.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002819/0.1252, allocations: 243.2 kB / 291 MB, free: 10.03 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008158/0.126, allocations: 1.004 MB / 292 MB, free: 9.57 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005524/0.1265, allocations: 0.5358 MB / 292.5 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.1267, allocations: 138 kB / 292.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.1282, allocations: 1.046 MB / 293.7 MB, free: 9.039 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001932/0.1284, allocations: 392.6 kB / 294.1 MB, free: 8.906 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000347/0.1288, allocations: 461.2 kB / 294.6 MB, free: 8.828 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002066/0.1309, allocations: 2.338 MB / 296.9 MB, free: 7.238 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.568e-05/0.1309, allocations: 4 kB / 296.9 MB, free: 7.234 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1309, allocations: 4 kB / 296.9 MB, free: 7.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.296e-05/0.1309, allocations: 0 / 296.9 MB, free: 7.23 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.002694/0.1336, allocations: 2.459 MB / 299.4 MB, free: 4.734 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1336, allocations: 12.03 kB / 299.4 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002/0.1338, allocations: 257.6 kB / 299.6 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.135, allocations: 0.873 MB / 300.5 MB, free: 3.57 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007897/0.1358, allocations: 0.6005 MB / 301.1 MB, free: 2.945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002188/0.136, allocations: 318.2 kB / 301.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.1361, allocations: 148.3 kB / 301.6 MB, free: 2.465 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.1381, allocations: 1.883 MB / 303.4 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.1381, allocations: 192 / 303.4 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.831e-05/0.1382, allocations: 63.92 kB / 303.5 MB, free: 0.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002511/0.1384, allocations: 279.5 kB / 303.8 MB, free: 232 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002629/0.141, allocations: 2.627 MB / 306.4 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.1525, allocations: 8.271 MB / 314.7 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.1538, allocations: 0.5785 MB / 315.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000705/0.1545, allocations: 284.2 kB / 315.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009751/0.1555, allocations: 0.6424 MB / 316.2 MB, free: 3.723 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.1555, allocations: 43.56 kB / 316.2 MB, free: 3.668 MB / 298.7 MB Notification: Performance of pre-optimization done (n=90): time 2.274e-06/0.1555, allocations: 0 / 316.2 MB, free: 3.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=146): time 0.05276/0.2083, allocations: 11.07 MB / 327.3 MB, free: 8.539 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04451/0.2528, allocations: 14.09 MB / 341.4 MB, free: 10.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008637/0.2537, allocations: 1.155 MB / 342.5 MB, free: 9.012 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002502/0.2539, allocations: 49.7 kB / 342.6 MB, free: 8.957 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.2542, allocations: 0.5424 MB / 343.1 MB, free: 8.406 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004097/0.2546, allocations: 0.5112 MB / 343.6 MB, free: 7.891 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008/0.2554, allocations: 383.1 kB / 344 MB, free: 7.512 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.515e-05/0.2554, allocations: 305.1 kB / 344.3 MB, free: 7.211 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.2568, allocations: 0.6705 MB / 345 MB, free: 6.539 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.2582, allocations: 0.904 MB / 345.9 MB, free: 5.551 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002697/0.2609, allocations: 1.788 MB / 347.7 MB, free: 3.668 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2609, allocations: 0 / 347.7 MB, free: 3.668 MB / 330.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.009817/0.2707, allocations: 2.914 MB / 350.6 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2707, allocations: 8 kB / 350.6 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.2707, allocations: 16.2 kB / 350.6 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01331/0.284, allocations: 5.557 MB / 356.2 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002823/0.2869, allocations: 0.7771 MB / 356.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01216/0.299, allocations: 6.566 MB / 363.5 MB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.3003, allocations: 64.02 kB / 363.6 MB, free: 3.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003462/0.3006, allocations: 331.8 kB / 363.9 MB, free: 3.242 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 129 * 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): 1 system {(5,13,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0005256/0.3012, allocations: 192.3 kB / 364.1 MB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004678/0.3016, allocations: 155.8 kB / 364.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008885/0.3105, allocations: 3.39 MB / 367.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006959/0.3175, allocations: 2.009 MB / 369.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3175, allocations: 4 kB / 369.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.3175, allocations: 7.969 kB / 369.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.3292, allocations: 5.333 MB / 375 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.3292, allocations: 4 kB / 375 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/0.3309, allocations: 493.8 kB / 375.5 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.3311, allocations: 206.7 kB / 375.7 MB, free: 7.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02496/0.3561, allocations: 5.08 MB / 380.7 MB, free: 2.141 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002536/0.3564, allocations: 67.91 kB / 380.8 MB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01077/0.3671, allocations: 4.28 MB / 385.1 MB, free: 13.68 MB / 378.7 MB 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.02238/0.3895, allocations: 4.246 MB / 389.3 MB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/0.4012, allocations: 3.312 MB / 392.7 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003463/0.4015, allocations: 39.94 kB / 392.7 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.4029, allocations: 43.97 kB / 392.7 MB, free: 5.867 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005487/0.4035, allocations: 164.8 kB / 392.9 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002686/0.4037, allocations: 143.9 kB / 393 MB, free: 5.566 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007695/0.4045, allocations: 0.7072 MB / 393.7 MB, free: 4.863 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4045, allocations: 0 / 393.7 MB, free: 4.863 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002206/0.4067, allocations: 0.9488 MB / 394.7 MB, free: 3.914 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 2 ($cse34,$cse27) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * 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): 1 system {(5,13,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(15,39)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009708/0.4164, allocations: 4.026 MB / 398.7 MB, free: 15.74 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00371/0.4201, allocations: 2.007 MB / 400.7 MB, free: 13.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.521e-05/0.4201, allocations: 16.38 kB / 400.7 MB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002223/0.4224, allocations: 1.202 MB / 401.9 MB, free: 12.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.4237, allocations: 0.6935 MB / 402.6 MB, free: 11.83 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4091:9-4091:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:743:5-743:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.8362605199217796]