Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Processes.Tests.Diffusion.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.001769/0.001769, 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.002133/0.002133, allocations: 217.9 kB / 23.05 MB, free: 5.074 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.1434/0.1434, allocations: 23.88 MB / 337.1 MB, free: 11.16 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.Processes.Tests.Diffusion,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_Diffusion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Processes.Tests.Diffusion,fileNamePrefix="Chemical_master_Chemical_Processes_Tests_Diffusion",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.003048/0.003048, allocations: 71.91 kB / 472 MB, free: 7.664 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3847, allocations: 59.88 MB / 0.5194 GB, free: 9.57 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.Processes.Tests.Diffusion): time 0.07449/0.4592, allocations: 61.42 MB / 0.5794 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03524/0.4944, allocations: 16.9 MB / 0.5959 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008841/0.5032, allocations: 119.5 kB / 0.596 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008254/0.5115, allocations: 2.641 MB / 0.5986 GB, free: 8.883 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01214/0.5236, allocations: 3.533 MB / 0.602 GB, free: 5.324 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008221/0.5319, allocations: 2.906 MB / 0.6049 GB, free: 2.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01868/0.5505, allocations: 10.88 MB / 0.6155 GB, free: 7.488 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006044/0.5566, allocations: 2.396 MB / 0.6178 GB, free: 4.996 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00944/0.566, allocations: 4.492 MB / 0.6222 GB, free: 500 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009357/0.5754, allocations: 5.392 MB / 0.6275 GB, free: 11.07 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004199/0.5796, allocations: 1.23 MB / 0.6287 GB, free: 9.84 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009379/0.589, allocations: 2.904 MB / 0.6315 GB, free: 6.938 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005315/0.5943, allocations: 3.606 MB / 0.635 GB, free: 3.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01114/0.6054, allocations: 6.611 MB / 0.6415 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02607/0.6315, allocations: 17.07 MB / 0.6582 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.6315, allocations: 0 / 0.6582 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6315, allocations: 4 kB / 0.6582 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0005465/0.632, allocations: 0 / 0.6582 GB, free: 11.53 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3564 * Number of variables: 3564 Notification: Performance of Generate backend data structure: time 0.03338/0.6654, allocations: 12.65 MB / 0.6705 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.6655, allocations: 11.97 kB / 0.6705 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003489/0.6658, allocations: 319 kB / 0.6708 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004196/0.67, allocations: 1.705 MB / 0.6725 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00811/0.6781, allocations: 2.389 MB / 0.6748 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01473/0.6929, allocations: 5.273 MB / 0.68 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002621/0.6955, allocations: 2.008 MB / 0.682 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003151/0.6986, allocations: 1.133 MB / 0.6831 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06914/0.7678, allocations: 47.15 MB / 0.7291 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004007/0.7682, allocations: 0 / 0.7291 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002555/0.7707, allocations: 467.9 kB / 0.7296 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002227/0.773, allocations: 1.847 MB / 0.7314 GB, free: 176 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5003/1.273, allocations: 79.12 MB / 0.8086 GB, free: 115.3 MB / 0.5607 GB 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.1371/1.41, allocations: 113.9 MB / 0.9198 GB, free: 1.961 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03025/1.441, allocations: 20.07 MB / 0.9394 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02311/1.464, allocations: 15.47 MB / 0.9545 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005434/1.469, allocations: 1.197 MB / 0.9557 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/1.469, allocations: 98.45 kB / 0.9558 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=538): time 1.364e-05/1.469, allocations: 0 / 0.9558 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=760): time 0.626/2.095, allocations: 131 MB / 1.084 GB, free: 123.6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07682/2.172, allocations: 52.71 MB / 1.135 GB, free: 69.67 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02471/2.197, allocations: 13.68 MB / 1.149 GB, free: 56.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.002889/2.2, allocations: 141.7 kB / 1.149 GB, free: 55.91 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.005196/2.205, allocations: 5.425 MB / 1.154 GB, free: 50.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.004723/2.21, allocations: 2.662 MB / 1.157 GB, free: 48.35 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01042/2.22, allocations: 2.433 MB / 1.159 GB, free: 45.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.428e-05/2.22, allocations: 307.8 kB / 1.159 GB, free: 45.61 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02542/2.246, allocations: 22.85 MB / 1.182 GB, free: 22.78 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2694/2.515, allocations: 23.91 MB / 1.205 GB, free: 186.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04725/2.562, allocations: 30.94 MB / 1.235 GB, free: 176.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.485e-05/2.562, allocations: 7.062 kB / 1.235 GB, free: 176.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=915) (initialization): time 0.0811/2.643, allocations: 51.72 MB / 1.286 GB, free: 148.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.394e-05/2.644, allocations: 16.94 kB / 1.286 GB, free: 148.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.987e-05/2.644, allocations: 24 kB / 1.286 GB, free: 148.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04273/2.686, allocations: 13.51 MB / 1.299 GB, free: 135.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0295/2.716, allocations: 4.425 MB / 1.303 GB, free: 131.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06785/2.784, allocations: 75.41 MB / 1.377 GB, free: 54.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01533/2.799, allocations: 0.6203 MB / 1.377 GB, free: 53.92 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00432/2.803, allocations: 1.72 MB / 1.379 GB, free: 52.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * 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 (783): * Single equations (assignments): 751 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 26 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 20 systems {(4,3,62.5%), (1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,1,100.0%), (4,3,62.5%), (1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(6,20), (4,3), (3,8), (2,1), (6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.009583/2.813, allocations: 2.743 MB / 1.382 GB, free: 49.47 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005751/2.819, allocations: 1.197 MB / 1.383 GB, free: 48.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07629/2.895, allocations: 31.09 MB / 1.413 GB, free: 17.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04614/2.941, allocations: 18.02 MB / 1.431 GB, free: 15.2 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.123e-05/2.941, allocations: 10.62 kB / 1.431 GB, free: 15.2 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000256/2.941, allocations: 39.86 kB / 1.431 GB, free: 15.16 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3956/3.337, allocations: 68.66 MB / 1.498 GB, free: 175.1 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000106/3.337, allocations: 30.91 kB / 1.498 GB, free: 175.1 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01446/3.352, allocations: 1.902 MB / 1.5 GB, free: 175 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03536/3.387, allocations: 7.18 MB / 1.507 GB, free: 173.4 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001884/3.389, allocations: 309.3 kB / 1.507 GB, free: 173.3 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06146/3.45, allocations: 51.45 MB / 1.557 GB, free: 126.1 MB / 0.6232 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! 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! 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.01719/3.468, allocations: 11.65 MB / 1.569 GB, free: 114.7 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05907/3.527, allocations: 27.03 MB / 1.595 GB, free: 88.1 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004451/3.531, allocations: 1.808 MB / 1.597 GB, free: 86.43 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004008/3.535, allocations: 192.4 kB / 1.597 GB, free: 86.25 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008586/3.544, allocations: 323.6 kB / 1.597 GB, free: 85.93 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002842/3.546, allocations: 0.8785 MB / 1.598 GB, free: 85.07 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001434/3.548, allocations: 487.1 kB / 1.599 GB, free: 84.6 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.02101/3.569, allocations: 13.82 MB / 1.612 GB, free: 70.83 MB / 0.6232 GB Notification: Performance of sort global known variables: time 2.2e-07/3.569, allocations: 0 / 1.612 GB, free: 70.83 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01502/3.584, allocations: 4.135 MB / 1.616 GB, free: 66.73 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 151 * Number of states: 19 ($STATESET8.x[3],$STATESET8.x[2],$STATESET8.x[1],d5.rear.n_flow,$STATESET7.x,$STATESET6.x[3],$STATESET6.x[2],$STATESET6.x[1],d4.rear.n_flow,$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],d3.rear.n_flow,$STATESET4.x,$STATESET3.x,d1.rear.n_flow,$STATESET2.x,$STATESET1.x,d2.rear.n_flow) * Number of discrete variables: 11 ($cse169,$cse163,$cse148,$cse143,$cse136,$cse127,$cse121,$cse110,$cse103,$cse93,$cse87) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (586): * Single equations (assignments): 561 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 14 systems {(1,4,100.0%), (4,3,62.5%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (2,1,100.0%), (1,4,100.0%), (4,3,62.5%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%), (1,4,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 11 systems {(4,20), (9,10), (3,3), (3,9), (8,10), (4,20), (9,10), (3,3), (3,3), (3,3), (3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.05567/3.64, allocations: 26.44 MB / 1.642 GB, free: 39.59 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.04036/3.68, allocations: 29.52 MB / 1.671 GB, free: 9.898 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-05/3.68, allocations: 6.625 kB / 1.671 GB, free: 9.895 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.253/3.933, allocations: 9.996 MB / 1.681 GB, free: 195.7 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02042/3.953, allocations: 2.802 MB / 1.684 GB, free: 195.5 MB / 0.6232 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 656] [Calling sys.exit(0), Time elapsed: 6.483938940917142] Failed to read output from testmodel.py, exit status != 0: 3.9646912439493462 3.97506232 3.3406382310000002 Calling exit ...