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.001274/0.001274, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00146/0.00146, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.433/1.433, allocations: 230.6 MB / 256 MB, free: 7.797 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.1424/0.1424, allocations: 23.88 MB / 336.3 MB, free: 10.98 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.002196/0.002196, allocations: 67.89 kB / 471.6 MB, free: 7.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3357, allocations: 59.86 MB / 0.519 GB, free: 9.75 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.07075/0.4065, allocations: 28.01 MB / 0.5464 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.4192, allocations: 7.833 MB / 0.554 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.4203, allocations: 23.88 kB / 0.554 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002597/0.4229, allocations: 0.8166 MB / 0.5548 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.4249, allocations: 0.7927 MB / 0.5556 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.4273, allocations: 0.898 MB / 0.5565 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002625/0.4299, allocations: 1.892 MB / 0.5583 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00039/0.4303, allocations: 218 kB / 0.5585 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007014/0.431, allocations: 0.6094 MB / 0.5591 GB, free: 200 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008283/0.4318, allocations: 0.6266 MB / 0.5597 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.432, allocations: 140 kB / 0.5599 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002594/0.4346, allocations: 1.01 MB / 0.5609 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004437/0.435, allocations: 468.6 kB / 0.5613 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007064/0.4357, allocations: 0.6769 MB / 0.562 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00421/0.44, allocations: 3.167 MB / 0.5651 GB, free: 10.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.44, allocations: 4 kB / 0.5651 GB, free: 10.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.44, allocations: 0 / 0.5651 GB, free: 10.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.44, allocations: 0 / 0.5651 GB, free: 10.7 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.003418/0.4434, allocations: 2.141 MB / 0.5672 GB, free: 8.516 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.4434, allocations: 8.031 kB / 0.5672 GB, free: 8.508 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.4445, allocations: 395.3 kB / 0.5675 GB, free: 8.121 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/0.4458, allocations: 0.8329 MB / 0.5684 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003219/0.4461, allocations: 318.2 kB / 0.5687 GB, free: 6.922 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.4464, allocations: 156.3 kB / 0.5688 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008254/0.4546, allocations: 7.379 MB / 0.576 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.4546, allocations: 0 / 0.576 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.4548, allocations: 59.98 kB / 0.5761 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003118/0.4551, allocations: 279.5 kB / 0.5763 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/0.4691, allocations: 13.39 MB / 0.5894 GB, free: 1.645 MB / 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.02539/0.4945, allocations: 16.91 MB / 0.6059 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005085/0.4995, allocations: 3.534 MB / 0.6094 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00366/0.5032, allocations: 2.749 MB / 0.6121 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001745/0.505, allocations: 0.6425 MB / 0.6127 GB, free: 9.695 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/0.505, allocations: 51.48 kB / 0.6127 GB, free: 9.637 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 3.206e-06/0.505, allocations: 0 / 0.6127 GB, free: 9.637 MB / 462.1 MB Notification: Performance of matching and sorting (n=146): time 0.1097/0.6147, allocations: 30.91 MB / 0.6429 GB, free: 10.67 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1344/0.7491, allocations: 40.51 MB / 0.6825 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/0.7507, allocations: 0.9601 MB / 0.6834 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005644/0.7513, allocations: 49.7 kB / 0.6835 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007415/0.752, allocations: 0.8445 MB / 0.6843 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009779/0.753, allocations: 0.5151 MB / 0.6848 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001654/0.7546, allocations: 0.5111 MB / 0.6853 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.7548, allocations: 309 kB / 0.6856 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007239/0.762, allocations: 4.904 MB / 0.6904 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007593/0.7696, allocations: 5.152 MB / 0.6954 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/0.7807, allocations: 6.776 MB / 0.702 GB, free: 13.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/0.7807, allocations: 4 kB / 0.702 GB, free: 13.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.03377/0.8145, allocations: 13.6 MB / 0.7153 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/0.8145, allocations: 14.88 kB / 0.7153 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/0.8146, allocations: 8 kB / 0.7153 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02828/0.8428, allocations: 6.958 MB / 0.7221 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004595/0.8474, allocations: 0.6241 MB / 0.7227 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3065/1.154, allocations: 26.37 MB / 0.7485 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003682/1.158, allocations: 177.1 kB / 0.7486 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000665/1.158, allocations: 353.2 kB / 0.749 GB, free: 175.8 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.001309/1.16, allocations: 0.5073 MB / 0.7495 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006063/1.16, allocations: 129.7 kB / 0.7496 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02411/1.184, allocations: 8.902 MB / 0.7583 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02035/1.205, allocations: 7.401 MB / 0.7655 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.556e-05/1.205, allocations: 7.875 kB / 0.7655 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.194e-05/1.205, allocations: 3.984 kB / 0.7655 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03055/1.235, allocations: 14.33 MB / 0.7795 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/1.235, allocations: 8 kB / 0.7795 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002736/1.238, allocations: 346.1 kB / 0.7799 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04674/1.285, allocations: 7.04 MB / 0.7867 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003918/1.285, allocations: 95.89 kB / 0.7868 GB, free: 150 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02166/1.307, allocations: 11.5 MB / 0.7981 GB, free: 138.5 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.03836/1.345, allocations: 5.649 MB / 0.8036 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02469/1.37, allocations: 11.55 MB / 0.8149 GB, free: 121.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004312/1.37, allocations: 149.3 kB / 0.815 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004261/1.371, allocations: 42.64 kB / 0.815 GB, free: 121.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002486/1.373, allocations: 126 kB / 0.8152 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005714/1.374, allocations: 188.9 kB / 0.8153 GB, free: 120.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002734/1.374, allocations: 171.8 kB / 0.8155 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001094/1.375, allocations: 1.172 MB / 0.8166 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.375, allocations: 0 / 0.8166 GB, free: 119.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002577/1.378, allocations: 0.9384 MB / 0.8176 GB, free: 118.5 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.0006879/1.378, allocations: 375.3 kB / 0.8179 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01038/1.389, allocations: 7.451 MB / 0.8252 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.389, allocations: 2.625 kB / 0.8252 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005655/1.394, allocations: 2.898 MB / 0.828 GB, free: 107.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/1.396, allocations: 322.8 kB / 0.8283 GB, free: 107.6 MB / 0.5606 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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.8994220662862062] Failed to read output from testmodel.py, exit status != 0: 1.4057595673948526 1.414103243 0.971992561 Calling exit ...