Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001607/0.001607, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002157/0.002157, allocations: 217.9 kB / 23.04 MB, free: 5.078 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.466/1.466, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1373/0.1373, allocations: 23.87 MB / 337.1 MB, free: 11.19 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical_Examples_HeatingOfAlcohol",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_master_Chemical_Examples_HeatingOfAlcohol",fmuType="cs",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.002088/0.002088, allocations: 63.91 kB / 472 MB, free: 7.688 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3077, allocations: 59.86 MB / 0.5194 GB, free: 9.594 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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 master/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.03947/0.3472, allocations: 28.8 MB / 0.5475 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01409/0.3613, allocations: 8.999 MB / 0.5563 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.3628, allocations: 27.81 kB / 0.5563 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002774/0.3655, allocations: 0.9183 MB / 0.5572 GB, free: 2.105 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.368, allocations: 0.7875 MB / 0.558 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002743/0.3708, allocations: 0.9234 MB / 0.5589 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003071/0.3739, allocations: 1.896 MB / 0.5607 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004405/0.3743, allocations: 226.4 kB / 0.5609 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008304/0.3751, allocations: 0.6114 MB / 0.5615 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009421/0.3761, allocations: 0.6978 MB / 0.5622 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.3763, allocations: 140 kB / 0.5624 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004054/0.3803, allocations: 1.617 MB / 0.5639 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004683/0.3808, allocations: 467.6 kB / 0.5644 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009374/0.3817, allocations: 0.9028 MB / 0.5653 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005223/0.387, allocations: 3.338 MB / 0.5685 GB, free: 7.789 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.387, allocations: 0 / 0.5685 GB, free: 7.789 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.387, allocations: 0 / 0.5685 GB, free: 7.789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.382e-05/0.387, allocations: 3.938 kB / 0.5685 GB, free: 7.785 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.003678/0.3907, allocations: 2.137 MB / 0.5706 GB, free: 5.605 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3907, allocations: 12.03 kB / 0.5706 GB, free: 5.594 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.995e-05/0.3908, allocations: 39 kB / 0.5707 GB, free: 5.555 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002845/0.391, allocations: 249.8 kB / 0.5709 GB, free: 5.301 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.3921, allocations: 391.3 kB / 0.5713 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.3935, allocations: 0.829 MB / 0.5721 GB, free: 4.059 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000333/0.3938, allocations: 322.2 kB / 0.5724 GB, free: 3.719 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/0.394, allocations: 156.1 kB / 0.5725 GB, free: 3.566 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008027/0.4021, allocations: 7.379 MB / 0.5797 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.4021, allocations: 7.938 kB / 0.5798 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/0.4022, allocations: 63.97 kB / 0.5798 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000325/0.4026, allocations: 283.4 kB / 0.5801 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0142/0.4168, allocations: 13.41 MB / 0.5932 GB, free: 14.41 MB / 446.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.02653/0.4433, allocations: 18.32 MB / 0.6111 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005273/0.4486, allocations: 3.534 MB / 0.6145 GB, free: 8.344 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003783/0.4523, allocations: 2.745 MB / 0.6172 GB, free: 5.594 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001809/0.4542, allocations: 0.6619 MB / 0.6179 GB, free: 4.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.4542, allocations: 39.56 kB / 0.6179 GB, free: 4.883 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 3.126e-06/0.4542, allocations: 3.938 kB / 0.6179 GB, free: 4.879 MB / 462.1 MB Notification: Performance of matching and sorting (n=146): time 0.1131/0.5673, allocations: 30.93 MB / 0.6481 GB, free: 5.887 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1354/0.7026, allocations: 41.15 MB / 0.6883 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002717/0.7053, allocations: 1.842 MB / 0.6901 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005773/0.7059, allocations: 49.7 kB / 0.6901 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008051/0.7067, allocations: 0.8089 MB / 0.6909 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009532/0.7077, allocations: 0.519 MB / 0.6914 GB, free: 9.188 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001544/0.7092, allocations: 0.5071 MB / 0.6919 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.7093, allocations: 305.1 kB / 0.6922 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007172/0.7165, allocations: 4.904 MB / 0.697 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007649/0.7242, allocations: 5.152 MB / 0.702 GB, free: 14.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.7353, allocations: 6.776 MB / 0.7086 GB, free: 7.359 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.7353, allocations: 0 / 0.7086 GB, free: 7.359 MB / 0.545 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.03494/0.7703, allocations: 13.64 MB / 0.722 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.7703, allocations: 8 kB / 0.722 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.7703, allocations: 8 kB / 0.722 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02852/0.7988, allocations: 6.957 MB / 0.7288 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004619/0.8035, allocations: 0.6203 MB / 0.7294 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2592/1.063, allocations: 26.79 MB / 0.7555 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003547/1.066, allocations: 175 kB / 0.7557 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006482/1.067, allocations: 354.3 kB / 0.756 GB, free: 172.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.001248/1.068, allocations: 0.5063 MB / 0.7565 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006899/1.069, allocations: 187.3 kB / 0.7567 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02463/1.093, allocations: 8.944 MB / 0.7655 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02048/1.114, allocations: 7.391 MB / 0.7727 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/1.114, allocations: 3.531 kB / 0.7727 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-05/1.114, allocations: 7.969 kB / 0.7727 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0309/1.145, allocations: 15.36 MB / 0.7877 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/1.145, allocations: 10.62 kB / 0.7877 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002934/1.148, allocations: 358 kB / 0.788 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04905/1.197, allocations: 7.033 MB / 0.7949 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004709/1.197, allocations: 94.53 kB / 0.795 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02252/1.22, allocations: 11.79 MB / 0.8065 GB, free: 131.4 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.03943/1.259, allocations: 5.652 MB / 0.812 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02569/1.285, allocations: 11.6 MB / 0.8234 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006186/1.286, allocations: 250.8 kB / 0.8236 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005554/1.286, allocations: 38.61 kB / 0.8236 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/1.289, allocations: 126.5 kB / 0.8238 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006394/1.289, allocations: 195.4 kB / 0.8239 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002958/1.29, allocations: 165 kB / 0.8241 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001771/1.291, allocations: 1.815 MB / 0.8259 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.291, allocations: 0 / 0.8259 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002745/1.294, allocations: 0.942 MB / 0.8268 GB, free: 110.6 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.02501/1.319, allocations: 11.6 MB / 0.8381 GB, free: 99.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01072/1.33, allocations: 7.453 MB / 0.8454 GB, free: 91.62 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/1.33, allocations: 0 / 0.8454 GB, free: 91.62 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006001/1.336, allocations: 2.902 MB / 0.8482 GB, free: 88.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/1.338, allocations: 420.1 kB / 0.8486 GB, free: 88.37 MB / 0.5606 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 659] [Calling sys.exit(0), Time elapsed: 3.7913521509617567] Failed to read output from testmodel.py, exit status != 0: 1.3466570059536025 1.3562561 0.967074971 Calling exit ...