Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.WaterVaporization.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.001112/0.001112, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001365/0.001365, allocations: 218.8 kB / 22.25 MB, free: 5.258 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.364/1.364, allocations: 230.6 MB / 256 MB, free: 7.793 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.1325/0.1325, allocations: 23.93 MB / 336.4 MB, free: 10.93 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/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.WaterVaporization,fileNamePrefix="Chemical_master_Chemical_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_master_Chemical_Examples_WaterVaporization",fmuType="me",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.001925/0.001925, allocations: 63.91 kB / 471.2 MB, free: 7.477 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2813, allocations: 59.88 MB / 0.5186 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01094/0.2923, allocations: 11.54 MB / 0.5299 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2253/0.5176, allocations: 146.9 MB / 0.6733 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002614/0.5202, allocations: 55.69 kB / 0.6734 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003495/0.5237, allocations: 1.118 MB / 0.6745 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003987/0.5277, allocations: 1.346 MB / 0.6758 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003834/0.5315, allocations: 1.603 MB / 0.6773 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005747/0.5373, allocations: 3.708 MB / 0.681 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.5385, allocations: 0.7326 MB / 0.6817 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.5403, allocations: 1.319 MB / 0.683 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002711/0.543, allocations: 1.763 MB / 0.6847 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004316/0.5435, allocations: 324 kB / 0.685 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002918/0.5464, allocations: 1.202 MB / 0.6862 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008129/0.5472, allocations: 0.9224 MB / 0.6871 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001529/0.5487, allocations: 1.395 MB / 0.6884 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007173/0.5559, allocations: 5.405 MB / 0.6937 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5559, allocations: 4 kB / 0.6937 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5559, allocations: 0 / 0.6937 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.005e-05/0.556, allocations: 0 / 0.6937 GB, free: 5.957 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 993 * Number of variables: 993 Notification: Performance of Generate backend data structure: time 0.006572/0.5626, allocations: 3.936 MB / 0.6976 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.5626, allocations: 12.03 kB / 0.6976 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005793/0.5632, allocations: 0.4957 MB / 0.6981 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002143/0.5653, allocations: 0.7321 MB / 0.6988 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/0.5677, allocations: 1.38 MB / 0.7001 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003901/0.568, allocations: 437.2 kB / 0.7005 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004624/0.5685, allocations: 332.3 kB / 0.7008 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/0.5812, allocations: 10.25 MB / 0.7109 GB, free: 4.238 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.015e-05/0.5813, allocations: 0 / 0.7109 GB, free: 4.238 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/0.5815, allocations: 128 kB / 0.711 GB, free: 4.113 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005883/0.5821, allocations: 475.5 kB / 0.7114 GB, free: 3.648 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02162/0.6037, allocations: 18.74 MB / 0.7297 GB, free: 0.8945 MB / 0.5606 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.2192/0.8229, allocations: 17.16 MB / 0.7465 GB, free: 180 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/0.8263, allocations: 2.307 MB / 0.7487 GB, free: 179 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002139/0.8284, allocations: 1.638 MB / 0.7503 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01398/0.8424, allocations: 7.754 MB / 0.7579 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.8424, allocations: 47.94 kB / 0.758 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=131): time 3.626e-06/0.8425, allocations: 1.375 kB / 0.758 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=185): time 0.09303/0.9355, allocations: 22.52 MB / 0.78 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05342/0.9889, allocations: 16.33 MB / 0.7959 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/0.991, allocations: 2.402 MB / 0.7982 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005805/0.9916, allocations: 58.64 kB / 0.7983 GB, free: 138.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007255/0.9923, allocations: 1.81 MB / 0.8001 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005446/0.9929, allocations: 0.664 MB / 0.8007 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/0.994, allocations: 0.6644 MB / 0.8014 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 2.816e-05/0.994, allocations: 305.1 kB / 0.8017 GB, free: 135.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002906/0.9969, allocations: 2.42 MB / 0.804 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003156/1, allocations: 3.187 MB / 0.8071 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1496/1.15, allocations: 26.37 MB / 0.8329 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.251e-05/1.15, allocations: 4 kB / 0.8329 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.02134/1.171, allocations: 7.969 MB / 0.8407 GB, free: 94.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/1.171, allocations: 22.25 kB / 0.8407 GB, free: 94.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.048e-05/1.171, allocations: 24 kB / 0.8407 GB, free: 94.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0232/1.194, allocations: 4.398 MB / 0.845 GB, free: 90.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004239/1.199, allocations: 0.7697 MB / 0.8458 GB, free: 89.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/1.21, allocations: 9.933 MB / 0.8555 GB, free: 79.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003542/1.213, allocations: 139.9 kB / 0.8556 GB, free: 79.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007803/1.214, allocations: 411.8 kB / 0.856 GB, free: 78.83 MB / 0.5606 GB Warning: Assuming fixed start value for the following 1 variables: gasVolatility.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 4 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase,otherSubstances.substanceDefinitionVar.SelfClustering,otherSubstances.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(3,5), (5,13), (2,3), (1,2), (4,14), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001991/1.216, allocations: 0.9141 MB / 0.8569 GB, free: 77.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007606/1.217, allocations: 270.3 kB / 0.8571 GB, free: 77.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02551/1.242, allocations: 8.083 MB / 0.865 GB, free: 69.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.379e-05/1.242, allocations: 20 kB / 0.8651 GB, free: 69.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/1.242, allocations: 4 kB / 0.8651 GB, free: 69.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.876e-05/1.242, allocations: 7.969 kB / 0.8651 GB, free: 69.61 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03092/1.273, allocations: 12.74 MB / 0.8775 GB, free: 56.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/1.273, allocations: 4 kB / 0.8775 GB, free: 56.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003439/1.277, allocations: 462.5 kB / 0.8779 GB, free: 56.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0354/1.312, allocations: 5.119 MB / 0.8829 GB, free: 51.06 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005124/1.313, allocations: 111.9 kB / 0.8831 GB, free: 50.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02497/1.338, allocations: 15.84 MB / 0.8985 GB, free: 34.49 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.02252/1.36, allocations: 3.531 MB / 0.902 GB, free: 30.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02604/1.386, allocations: 9.503 MB / 0.9112 GB, free: 21.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006132/1.387, allocations: 278.2 kB / 0.9115 GB, free: 21.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006445/1.387, allocations: 43.95 kB / 0.9116 GB, free: 21.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0027/1.39, allocations: 95.89 kB / 0.9116 GB, free: 20.94 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006616/1.391, allocations: 217.5 kB / 0.9119 GB, free: 20.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003224/1.391, allocations: 195.9 kB / 0.912 GB, free: 20.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001979/1.393, allocations: 1.847 MB / 0.9138 GB, free: 18.68 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.393, allocations: 0 / 0.9138 GB, free: 18.68 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002731/1.396, allocations: 0.9176 MB / 0.9147 GB, free: 17.76 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 ($STATESET1.x,H2O_gaseuous.logn,otherSubstances.logn,liquidWater.substance.amountOfBonds,liquidWater.logm,gasVolatility.rear.n_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,13,80.0%), (1,4,100.0%), (3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(9,25), (2,3), (1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02558/1.421, allocations: 9.906 MB / 0.9244 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01061/1.432, allocations: 5.329 MB / 0.9296 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.006e-06/1.432, allocations: 6.719 kB / 0.9296 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007248/1.439, allocations: 3.061 MB / 0.9326 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/1.442, allocations: 0.5572 MB / 0.9332 GB, free: 14.77 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4734:9-4734:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/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.6972736440075096] Failed to read output from testmodel.py, exit status != 0: 1.450455452024471 1.465790257 0.906863977 Calling exit ...