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.001474/0.001474, allocations: 105.5 kB / 16.45 MB, free: 6.453 MB / 14.72 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.001851/0.001851, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 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 1.627/1.627, allocations: 230.6 MB / 252.8 MB, free: 8.934 MB / 206.1 MB " [Timeout remaining time 178] 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.1721/0.1721, allocations: 23.84 MB / 332.7 MB, free: 12.33 MB / 270.1 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: "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_Chemical_Examples_HeatingOfAlcohol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 59.91 kB / 466 MB, free: 10.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4558/0.4578, allocations: 59.81 MB / 0.5134 GB, free: 8.84 MB / 382.1 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.05402/0.5118, allocations: 28.8 MB / 0.5416 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01636/0.5281, allocations: 8.986 MB / 0.5503 GB, free: 3.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002856/0.531, allocations: 23.88 kB / 0.5504 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00385/0.5348, allocations: 0.9141 MB / 0.5513 GB, free: 2.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003904/0.5387, allocations: 0.7855 MB / 0.552 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00349/0.5422, allocations: 0.9244 MB / 0.5529 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003938/0.5462, allocations: 1.889 MB / 0.5548 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005135/0.5467, allocations: 229.9 kB / 0.555 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.5477, allocations: 0.6045 MB / 0.5556 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009972/0.5487, allocations: 0.713 MB / 0.5563 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000248/0.5489, allocations: 140 kB / 0.5564 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004635/0.5536, allocations: 1.613 MB / 0.558 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005544/0.5541, allocations: 463.9 kB / 0.5584 GB, free: 12.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001117/0.5552, allocations: 0.9022 MB / 0.5593 GB, free: 11.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007661/0.5629, allocations: 3.335 MB / 0.5626 GB, free: 8.961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5629, allocations: 4 kB / 0.5626 GB, free: 8.957 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5629, allocations: 0 / 0.5626 GB, free: 8.957 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.264e-05/0.563, allocations: 0 / 0.5626 GB, free: 8.957 MB / 414.1 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.004239/0.5672, allocations: 2.217 MB / 0.5647 GB, free: 6.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/0.5673, allocations: 12.02 kB / 0.5647 GB, free: 6.668 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003326/0.5676, allocations: 249.9 kB / 0.565 GB, free: 6.414 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.5688, allocations: 395.3 kB / 0.5654 GB, free: 6.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.5704, allocations: 0.8894 MB / 0.5662 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000351/0.5708, allocations: 262.8 kB / 0.5665 GB, free: 4.824 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002497/0.571, allocations: 148.3 kB / 0.5666 GB, free: 4.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00951/0.5805, allocations: 7.039 MB / 0.5735 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.5805, allocations: 0 / 0.5735 GB, free: 13.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.5807, allocations: 55.98 kB / 0.5735 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003755/0.5811, allocations: 287.4 kB / 0.5738 GB, free: 13.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0156/0.5967, allocations: 12.83 MB / 0.5864 GB, free: 460 kB / 430.1 MB 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.03121/0.6279, allocations: 17.98 MB / 0.6039 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005583/0.6335, allocations: 3.5 MB / 0.6073 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003998/0.6375, allocations: 2.714 MB / 0.61 GB, free: 8.051 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002619/0.6401, allocations: 1.542 MB / 0.6115 GB, free: 6.285 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.629e-05/0.6401, allocations: 47.5 kB / 0.6115 GB, free: 6.227 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 2.575e-06/0.6401, allocations: 0 / 0.6115 GB, free: 6.227 MB / 462.1 MB Notification: Performance of matching and sorting (n=146): time 0.1164/0.7565, allocations: 30.85 MB / 0.6417 GB, free: 7.262 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1366/0.8931, allocations: 40.91 MB / 0.6816 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00271/0.8958, allocations: 1.842 MB / 0.6834 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005913/0.8964, allocations: 49.7 kB / 0.6835 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007872/0.8972, allocations: 0.8285 MB / 0.6843 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008542/0.898, allocations: 0.5112 MB / 0.6848 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001565/0.8996, allocations: 0.5032 MB / 0.6853 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.8998, allocations: 301.1 kB / 0.6856 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007101/0.9069, allocations: 4.826 MB / 0.6903 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007437/0.9143, allocations: 5.066 MB / 0.6952 GB, free: 15.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01112/0.9254, allocations: 6.761 MB / 0.7018 GB, free: 9.098 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/0.9254, allocations: 8 kB / 0.7018 GB, free: 9.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.03597/0.9614, allocations: 13.44 MB / 0.7149 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/0.9614, allocations: 8 kB / 0.715 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.551e-05/0.9615, allocations: 8 kB / 0.715 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02977/0.9912, allocations: 6.87 MB / 0.7217 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00482/0.9961, allocations: 0.6242 MB / 0.7223 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3248/1.321, allocations: 26.43 MB / 0.7481 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004081/1.325, allocations: 175 kB / 0.7483 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000809/1.326, allocations: 355.4 kB / 0.7486 GB, free: 173.9 MB / 0.5606 GB 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.001494/1.327, allocations: 0.5022 MB / 0.7491 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007749/1.328, allocations: 190.7 kB / 0.7493 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02633/1.354, allocations: 8.934 MB / 0.758 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02183/1.376, allocations: 7.373 MB / 0.7652 GB, free: 167 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/1.376, allocations: 2.344 kB / 0.7652 GB, free: 167 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.315e-05/1.376, allocations: 7.969 kB / 0.7652 GB, free: 167 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03212/1.408, allocations: 15.32 MB / 0.7802 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.656e-05/1.408, allocations: 9.281 kB / 0.7802 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002934/1.411, allocations: 358.1 kB / 0.7805 GB, free: 152.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04969/1.461, allocations: 7.031 MB / 0.7874 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004756/1.461, allocations: 99.89 kB / 0.7875 GB, free: 145.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02293/1.484, allocations: 11.89 MB / 0.7991 GB, free: 133.8 MB / 0.5606 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.04115/1.526, allocations: 5.652 MB / 0.8046 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02746/1.553, allocations: 11.57 MB / 0.8159 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006337/1.554, allocations: 337.7 kB / 0.8162 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005966/1.554, allocations: 33.97 kB / 0.8163 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002748/1.557, allocations: 122.5 kB / 0.8164 GB, free: 116 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007223/1.558, allocations: 187.7 kB / 0.8166 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003134/1.558, allocations: 171.9 kB / 0.8167 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002072/1.56, allocations: 1.819 MB / 0.8185 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.56, allocations: 0 / 0.8185 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003405/1.563, allocations: 0.9429 MB / 0.8194 GB, free: 113 MB / 0.5606 GB 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.02699/1.59, allocations: 11.56 MB / 0.8307 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01189/1.602, allocations: 7.354 MB / 0.8379 GB, free: 94.06 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.602, allocations: 0 / 0.8379 GB, free: 94.06 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00642/1.609, allocations: 2.899 MB / 0.8407 GB, free: 91.16 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/1.611, allocations: 413.2 kB / 0.8411 GB, free: 90.8 MB / 0.5606 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4705:9-4705:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818: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: 4.497345388008398] Failed to read output from testmodel.py, exit status != 0: 1.6191851809999207 1.62776501 1.06274731 Calling exit ...