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.001243/0.001243, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001375/0.001375, allocations: 217.6 kB / 22.25 MB, free: 5.121 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.34/1.34, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 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.1293/0.1293, allocations: 23.85 MB / 336.3 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 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: translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfAlcohol") translateModel(Chemical.Examples.HeatingOfAlcohol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfAlcohol") [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.001968/0.001968, allocations: 63.91 kB / 471.6 MB, free: 7.211 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2685, allocations: 59.87 MB / 0.519 GB, free: 9.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.0333/0.3018, allocations: 28.96 MB / 0.5473 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.3144, allocations: 9.01 MB / 0.5561 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006932/0.3151, allocations: 23.88 kB / 0.5561 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.3173, allocations: 0.9072 MB / 0.557 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001544/0.3189, allocations: 0.7773 MB / 0.5578 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.3206, allocations: 0.9017 MB / 0.5587 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002366/0.323, allocations: 1.903 MB / 0.5605 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003764/0.3234, allocations: 229.8 kB / 0.5607 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006205/0.324, allocations: 0.6086 MB / 0.5613 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008377/0.3248, allocations: 0.7009 MB / 0.562 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001753/0.325, allocations: 136 kB / 0.5622 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002925/0.3279, allocations: 1.617 MB / 0.5637 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004068/0.3283, allocations: 468 kB / 0.5642 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007861/0.3291, allocations: 0.9024 MB / 0.5651 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003833/0.333, allocations: 3.337 MB / 0.5683 GB, free: 7.609 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.333, allocations: 0 / 0.5683 GB, free: 7.609 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.333, allocations: 0 / 0.5683 GB, free: 7.609 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.333, allocations: 0 / 0.5683 GB, free: 7.609 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.003216/0.3362, allocations: 2.137 MB / 0.5704 GB, free: 5.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.3362, allocations: 12.03 kB / 0.5704 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009655/0.3372, allocations: 391.3 kB / 0.5708 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.3384, allocations: 0.8328 MB / 0.5716 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003013/0.3387, allocations: 326.2 kB / 0.5719 GB, free: 3.828 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.3389, allocations: 148.3 kB / 0.5721 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007716/0.3466, allocations: 7.391 MB / 0.5793 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.3467, allocations: 0 / 0.5793 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.3468, allocations: 59.98 kB / 0.5793 GB, free: 12.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003024/0.3471, allocations: 279.5 kB / 0.5796 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01351/0.3606, allocations: 13.42 MB / 0.5927 GB, free: 14.52 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.0246/0.3852, allocations: 18.32 MB / 0.6106 GB, free: 12.01 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004757/0.3899, allocations: 3.53 MB / 0.614 GB, free: 8.465 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003511/0.3935, allocations: 2.749 MB / 0.6167 GB, free: 5.711 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001682/0.3951, allocations: 0.662 MB / 0.6174 GB, free: 5.047 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.329e-05/0.3952, allocations: 51.44 kB / 0.6174 GB, free: 4.988 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 2.735e-06/0.3952, allocations: 0 / 0.6174 GB, free: 4.988 MB / 462.1 MB Notification: Performance of matching and sorting (n=146): time 0.1031/0.4982, allocations: 30.91 MB / 0.6476 GB, free: 6.012 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1247/0.623, allocations: 41.15 MB / 0.6878 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/0.6254, allocations: 1.842 MB / 0.6896 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004269/0.6258, allocations: 49.77 kB / 0.6896 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006986/0.6265, allocations: 0.8206 MB / 0.6904 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006919/0.6272, allocations: 0.5151 MB / 0.6909 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001298/0.6285, allocations: 0.4993 MB / 0.6914 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6286, allocations: 309.1 kB / 0.6917 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006509/0.6351, allocations: 4.904 MB / 0.6965 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006868/0.642, allocations: 5.152 MB / 0.7015 GB, free: 14.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/0.6521, allocations: 6.776 MB / 0.7082 GB, free: 7.477 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.6521, allocations: 4 kB / 0.7082 GB, free: 7.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.03231/0.6844, allocations: 13.63 MB / 0.7215 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.6844, allocations: 8 kB / 0.7215 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.6844, allocations: 4 kB / 0.7215 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02632/0.7107, allocations: 6.969 MB / 0.7283 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00409/0.7148, allocations: 0.6164 MB / 0.7289 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2257/0.9405, allocations: 26.78 MB / 0.755 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/0.9437, allocations: 184.5 kB / 0.7552 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005127/0.9442, allocations: 349.5 kB / 0.7556 GB, free: 172.6 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.001045/0.9453, allocations: 0.5102 MB / 0.756 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005581/0.9458, allocations: 190.3 kB / 0.7562 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02232/0.9682, allocations: 8.954 MB / 0.765 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01853/0.9867, allocations: 7.38 MB / 0.7722 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.9867, allocations: 3.625 kB / 0.7722 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.9867, allocations: 7.969 kB / 0.7722 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02855/1.015, allocations: 15.37 MB / 0.7872 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/1.015, allocations: 4 kB / 0.7872 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002495/1.018, allocations: 352.7 kB / 0.7875 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04401/1.062, allocations: 7.049 MB / 0.7944 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002671/1.062, allocations: 91.91 kB / 0.7945 GB, free: 143 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02061/1.083, allocations: 11.78 MB / 0.806 GB, free: 131.1 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.03608/1.119, allocations: 5.662 MB / 0.8115 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02395/1.143, allocations: 11.6 MB / 0.8229 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004717/1.143, allocations: 255.7 kB / 0.8231 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004075/1.144, allocations: 32 kB / 0.8232 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002387/1.146, allocations: 127.8 kB / 0.8233 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005779/1.147, allocations: 191.5 kB / 0.8235 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002536/1.147, allocations: 159.9 kB / 0.8236 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001599/1.148, allocations: 1.815 MB / 0.8254 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.148, allocations: 2.656 kB / 0.8254 GB, free: 111.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002177/1.151, allocations: 0.955 MB / 0.8263 GB, free: 110.3 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.0005858/1.151, allocations: 376.8 kB / 0.8267 GB, free: 110 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009479/1.161, allocations: 7.452 MB / 0.834 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.161, allocations: 0 / 0.834 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005341/1.166, allocations: 2.91 MB / 0.8368 GB, free: 99.69 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/1.168, allocations: 424.7 kB / 0.8372 GB, free: 99.31 MB / 0.5606 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4733:9-4733:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/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.427457767073065] Failed to read output from testmodel.py, exit status != 0: 1.1758737859781832 1.184084129 0.849038483 Calling exit ...