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.001302/0.001302, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001481/0.001481, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.543/1.543, allocations: 230.6 MB / 256.8 MB, free: 7.953 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.1821/0.1821, allocations: 23.85 MB / 337.1 MB, free: 11.18 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.HeatingOfAlcohol,fileNamePrefix="Chemical_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.002092/0.002092, allocations: 71.91 kB / 471.9 MB, free: 7.672 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4157, allocations: 59.85 MB / 0.5193 GB, free: 9.613 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.05434/0.47, allocations: 28.79 MB / 0.5474 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01738/0.4874, allocations: 9.004 MB / 0.5562 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002611/0.49, allocations: 23.88 kB / 0.5563 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003849/0.4938, allocations: 0.9172 MB / 0.5572 GB, free: 2.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003589/0.4974, allocations: 0.7913 MB / 0.5579 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003533/0.501, allocations: 0.92 MB / 0.5588 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004142/0.5051, allocations: 1.905 MB / 0.5607 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005217/0.5056, allocations: 221.9 kB / 0.5609 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.5067, allocations: 0.6121 MB / 0.5615 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.5078, allocations: 0.6967 MB / 0.5622 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.508, allocations: 136 kB / 0.5623 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005067/0.513, allocations: 1.618 MB / 0.5639 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006686/0.5137, allocations: 471.6 kB / 0.5643 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.515, allocations: 0.8981 MB / 0.5652 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008336/0.5233, allocations: 3.336 MB / 0.5685 GB, free: 7.762 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.5234, allocations: 4 kB / 0.5685 GB, free: 7.758 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5234, allocations: 0 / 0.5685 GB, free: 7.758 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.971e-05/0.5234, allocations: 0 / 0.5685 GB, free: 7.758 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.004763/0.5282, allocations: 2.141 MB / 0.5706 GB, free: 5.574 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.5282, allocations: 12.03 kB / 0.5706 GB, free: 5.562 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.203e-05/0.5283, allocations: 39 kB / 0.5706 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000305/0.5286, allocations: 249.8 kB / 0.5709 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.5298, allocations: 399.2 kB / 0.5712 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/0.5316, allocations: 0.8289 MB / 0.572 GB, free: 4.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004656/0.5321, allocations: 322.2 kB / 0.5724 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002512/0.5323, allocations: 152.1 kB / 0.5725 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.5424, allocations: 7.383 MB / 0.5797 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.674e-05/0.5424, allocations: 0 / 0.5797 GB, free: 12.13 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.5425, allocations: 59.98 kB / 0.5798 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003752/0.5429, allocations: 287.4 kB / 0.58 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01613/0.559, allocations: 13.41 MB / 0.5931 GB, free: 14.38 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.03099/0.59, allocations: 18.32 MB / 0.611 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005595/0.5956, allocations: 3.53 MB / 0.6145 GB, free: 8.316 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004014/0.5996, allocations: 2.757 MB / 0.6172 GB, free: 5.555 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001908/0.6015, allocations: 0.6541 MB / 0.6178 GB, free: 4.898 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.497e-05/0.6016, allocations: 43.56 kB / 0.6179 GB, free: 4.848 MB / 462.1 MB Notification: Performance of pre-optimization done (n=90): time 3.687e-06/0.6016, allocations: 0 / 0.6179 GB, free: 4.848 MB / 462.1 MB Notification: Performance of matching and sorting (n=146): time 0.1189/0.7205, allocations: 30.92 MB / 0.648 GB, free: 5.855 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1413/0.8619, allocations: 41.14 MB / 0.6882 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003695/0.8656, allocations: 1.846 MB / 0.69 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006467/0.8662, allocations: 53.7 kB / 0.6901 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008971/0.8671, allocations: 0.8129 MB / 0.6909 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001143/0.8682, allocations: 0.519 MB / 0.6914 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001903/0.8701, allocations: 0.5071 MB / 0.6919 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.8703, allocations: 301.1 kB / 0.6922 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007562/0.8779, allocations: 4.896 MB / 0.6969 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007805/0.8857, allocations: 5.156 MB / 0.702 GB, free: 14.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01155/0.8972, allocations: 6.78 MB / 0.7086 GB, free: 7.328 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.8972, allocations: 0 / 0.7086 GB, free: 7.328 MB / 0.545 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.03489/0.9321, allocations: 13.63 MB / 0.7219 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.9321, allocations: 8 kB / 0.7219 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/0.9322, allocations: 8.391 kB / 0.7219 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02922/0.9614, allocations: 6.968 MB / 0.7287 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004567/0.966, allocations: 0.6281 MB / 0.7293 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3506/1.317, allocations: 26.77 MB / 0.7555 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003796/1.32, allocations: 181.8 kB / 0.7557 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000894/1.321, allocations: 354 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.0015/1.323, allocations: 0.5024 MB / 0.7565 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008143/1.324, allocations: 190.1 kB / 0.7567 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02532/1.349, allocations: 8.948 MB / 0.7654 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02167/1.371, allocations: 7.389 MB / 0.7726 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.881e-05/1.371, allocations: 6.188 kB / 0.7726 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.212e-05/1.371, allocations: 3.984 kB / 0.7726 GB, free: 165.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03289/1.403, allocations: 15.37 MB / 0.7876 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/1.403, allocations: 4 kB / 0.7876 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003037/1.407, allocations: 356.8 kB / 0.788 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04909/1.456, allocations: 7.039 MB / 0.7949 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005401/1.456, allocations: 95.89 kB / 0.795 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02291/1.479, 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.03934/1.518, allocations: 5.659 MB / 0.812 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02663/1.545, allocations: 11.6 MB / 0.8233 GB, free: 114.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006982/1.546, allocations: 261 kB / 0.8236 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000599/1.546, allocations: 34.67 kB / 0.8236 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002667/1.549, allocations: 122.5 kB / 0.8237 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006547/1.55, allocations: 191.6 kB / 0.8239 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003037/1.55, allocations: 165 kB / 0.824 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00189/1.552, allocations: 1.815 MB / 0.8258 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.552, allocations: 0 / 0.8258 GB, free: 111.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002971/1.555, allocations: 0.946 MB / 0.8267 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.02592/1.581, allocations: 11.6 MB / 0.8381 GB, free: 99.03 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01123/1.592, allocations: 7.456 MB / 0.8454 GB, free: 91.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/1.592, allocations: 0 / 0.8454 GB, free: 91.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006102/1.598, allocations: 2.902 MB / 0.8482 GB, free: 88.69 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/1.6, allocations: 428.8 kB / 0.8486 GB, free: 88.32 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 658] [Calling sys.exit(0), Time elapsed: 4.3216989419888705] Failed to read output from testmodel.py, exit status != 0: 1.6085938409669325 1.618087724 1.092359465 Calling exit ...