Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001478/0.001478, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.002018/0.002018, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.608/1.608, allocations: 230.6 MB / 252.8 MB, free: 9.008 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.1542/0.1542, allocations: 23.85 MB / 332.7 MB, free: 12.38 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.WaterVaporization,fileNamePrefix="Chemical_Chemical_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterVaporization,fileNamePrefix="Chemical_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.002022/0.002022, allocations: 78.38 kB / 466 MB, free: 10.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4813/0.4833, allocations: 59.81 MB / 0.5135 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01489/0.4982, allocations: 13.63 MB / 0.5268 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2323/0.7305, allocations: 147.1 MB / 0.6704 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004899/0.7354, allocations: 43.75 kB / 0.6704 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00539/0.7408, allocations: 1.277 MB / 0.6717 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006892/0.7477, allocations: 1.311 MB / 0.673 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006211/0.7539, allocations: 1.693 MB / 0.6746 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008759/0.7627, allocations: 3.721 MB / 0.6783 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.7643, allocations: 0.7791 MB / 0.679 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/0.7668, allocations: 1.288 MB / 0.6803 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002445/0.7693, allocations: 1.517 MB / 0.6818 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005501/0.7698, allocations: 336 kB / 0.6821 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006034/0.7758, allocations: 1.876 MB / 0.6839 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001131/0.777, allocations: 0.9888 MB / 0.6849 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002869/0.7798, allocations: 1.916 MB / 0.6867 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01279/0.7926, allocations: 5.729 MB / 0.6923 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.7926, allocations: 0 / 0.6923 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.896e-06/0.7926, allocations: 3.938 kB / 0.6923 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001923/0.7928, allocations: 0 / 0.6923 GB, free: 3.41 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.01256/0.8054, allocations: 4.077 MB / 0.6963 GB, free: 15.26 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/0.8054, allocations: 12.03 kB / 0.6963 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007884/0.8062, allocations: 0.4957 MB / 0.6968 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001984/0.8082, allocations: 0.697 MB / 0.6975 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003263/0.8115, allocations: 1.769 MB / 0.6992 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000581/0.8121, allocations: 480.1 kB / 0.6997 GB, free: 11.74 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004812/0.8125, allocations: 320.3 kB / 0.7 GB, free: 11.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01634/0.8289, allocations: 11.82 MB / 0.7115 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.183e-05/0.829, allocations: 4 kB / 0.7115 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002878/0.8292, allocations: 132 kB / 0.7117 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006617/0.8299, allocations: 499.5 kB / 0.7121 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3867/1.217, allocations: 20.47 MB / 0.7321 GB, free: 189.5 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.05453/1.271, allocations: 30.56 MB / 0.762 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006595/1.278, allocations: 5.314 MB / 0.7672 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004414/1.282, allocations: 4.249 MB / 0.7713 GB, free: 167.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002556/1.285, allocations: 1.833 MB / 0.7731 GB, free: 165 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/1.285, allocations: 43.88 kB / 0.7731 GB, free: 165 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=150): time 3.537e-06/1.285, allocations: 0 / 0.7731 GB, free: 165 MB / 0.5606 GB Notification: Performance of matching and sorting (n=232): time 0.1604/1.445, allocations: 48.29 MB / 0.8203 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1726/1.618, allocations: 61.03 MB / 0.8799 GB, free: 55.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005249/1.623, allocations: 3.732 MB / 0.8835 GB, free: 51.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001233/1.624, allocations: 61.7 kB / 0.8836 GB, free: 51.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000974/1.625, allocations: 1.626 MB / 0.8852 GB, free: 49.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/1.626, allocations: 0.8133 MB / 0.886 GB, free: 48.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001952/1.628, allocations: 0.7734 MB / 0.8867 GB, free: 48.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.355e-05/1.628, allocations: 301.1 kB / 0.887 GB, free: 47.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007768/1.636, allocations: 7.375 MB / 0.8942 GB, free: 40.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008662/1.645, allocations: 7.725 MB / 0.9018 GB, free: 32.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2404/1.885, allocations: 43.96 MB / 0.9447 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/1.885, allocations: 0 / 0.9447 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.3877/2.273, allocations: 20.43 MB / 0.9647 GB, free: 193.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.677e-05/2.273, allocations: 8.859 kB / 0.9647 GB, free: 193.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.804e-05/2.273, allocations: 8.25 kB / 0.9647 GB, free: 193.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04552/2.319, allocations: 10.38 MB / 0.9748 GB, free: 190.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007975/2.327, allocations: 0.9553 MB / 0.9757 GB, free: 190.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05952/2.386, allocations: 41.59 MB / 1.016 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006798/2.393, allocations: 259.7 kB / 1.017 GB, free: 155.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001727/2.395, allocations: 0.5231 MB / 1.017 GB, free: 155.4 MB / 0.5762 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: 36 * 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 (212): * Single equations (assignments): 201 * Array equations: 4 * 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 {(3,5,88.9%), (1,4,100.0%), (5,13,76.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,8), (2,1), (6,20), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.00301/2.398, allocations: 0.8854 MB / 1.018 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/2.399, allocations: 341.8 kB / 1.018 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03956/2.439, allocations: 14.04 MB / 1.032 GB, free: 140.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03473/2.473, allocations: 11.51 MB / 1.043 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.864e-05/2.473, allocations: 7.938 kB / 1.043 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.173e-05/2.473, allocations: 15.95 kB / 1.043 GB, free: 128.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04937/2.523, allocations: 23.34 MB / 1.066 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.654e-05/2.523, allocations: 4.562 kB / 1.066 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004553/2.527, allocations: 0.4915 MB / 1.067 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07867/2.606, allocations: 10.88 MB / 1.077 GB, free: 93.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001006/2.607, allocations: 143.9 kB / 1.077 GB, free: 93.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03649/2.643, allocations: 20.41 MB / 1.097 GB, free: 72.5 MB / 0.5762 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.09619/2.74, allocations: 20.47 MB / 1.117 GB, free: 51.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04103/2.781, allocations: 17.74 MB / 1.135 GB, free: 33.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/2.782, allocations: 0.5367 MB / 1.135 GB, free: 33.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001404/2.784, allocations: 51.95 kB / 1.135 GB, free: 33.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004606/2.788, allocations: 187.7 kB / 1.135 GB, free: 33.08 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001297/2.789, allocations: 281.5 kB / 1.136 GB, free: 32.81 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004902/2.79, allocations: 247.8 kB / 1.136 GB, free: 32.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004324/2.794, allocations: 3.418 MB / 1.139 GB, free: 29.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/2.794, allocations: 0 / 1.139 GB, free: 29.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005734/2.8, allocations: 1.489 MB / 1.141 GB, free: 27.69 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 6 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],gasVolatility.rear.n_flow) * Number of discrete variables: 3 ($cse53,$cse46,$cse39) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (5,13,76.0%), (3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(15,39), (8,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03923/2.839, allocations: 17.32 MB / 1.158 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.2892/3.128, allocations: 11.49 MB / 1.169 GB, free: 196.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/3.128, allocations: 0.7188 kB / 1.169 GB, free: 196.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0126/3.141, allocations: 4.739 MB / 1.173 GB, free: 195.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004353/3.145, allocations: 0.715 MB / 1.174 GB, free: 195.8 MB / 0.5762 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4705:9-4705:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 657] [Calling sys.exit(0), Time elapsed: 5.913424818005296] Failed to read output from testmodel.py, exit status != 0: 3.1537513340008445 3.1655632689999997 2.370162583 Calling exit ...