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.001303/0.001303, 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.001574/0.001574, allocations: 215.2 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.389/1.389, allocations: 230.6 MB / 256 MB, free: 7.781 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.1395/0.1395, allocations: 23.93 MB / 336.4 MB, free: 10.89 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.001961/0.001961, allocations: 71.89 kB / 471.2 MB, free: 7.434 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3175, allocations: 59.87 MB / 0.5186 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01133/0.3288, allocations: 11.54 MB / 0.5299 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2293/0.5581, allocations: 146.9 MB / 0.6733 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00339/0.5615, allocations: 59.69 kB / 0.6734 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004354/0.5659, allocations: 1.122 MB / 0.6745 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005498/0.5714, allocations: 1.346 MB / 0.6758 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004595/0.576, allocations: 1.599 MB / 0.6774 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007013/0.583, allocations: 3.712 MB / 0.681 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.5844, allocations: 0.7287 MB / 0.6817 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00205/0.5864, allocations: 1.312 MB / 0.683 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002729/0.5892, allocations: 1.77 MB / 0.6847 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006404/0.5898, allocations: 324 kB / 0.685 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003307/0.5931, allocations: 1.205 MB / 0.6862 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009581/0.5941, allocations: 0.9224 MB / 0.6871 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001904/0.596, allocations: 1.402 MB / 0.6885 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00828/0.6043, allocations: 5.401 MB / 0.6938 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.6043, allocations: 0 / 0.6938 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6043, allocations: 0 / 0.6938 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001261/0.6044, allocations: 0 / 0.6938 GB, free: 5.883 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.00726/0.6117, allocations: 3.932 MB / 0.6976 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.6117, allocations: 20.02 kB / 0.6976 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006442/0.6124, allocations: 0.4957 MB / 0.6981 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.6144, allocations: 0.7282 MB / 0.6988 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/0.6169, allocations: 1.38 MB / 0.7002 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004414/0.6173, allocations: 429.2 kB / 0.7006 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004443/0.6178, allocations: 336.2 kB / 0.7009 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01272/0.6305, allocations: 10.25 MB / 0.7109 GB, free: 4.168 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.874e-05/0.6306, allocations: 0 / 0.7109 GB, free: 4.168 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002591/0.6308, allocations: 128 kB / 0.711 GB, free: 4.043 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005337/0.6314, allocations: 475.5 kB / 0.7115 GB, free: 3.578 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02122/0.6526, allocations: 18.74 MB / 0.7298 GB, free: 0.8281 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.2613/0.9139, allocations: 17.18 MB / 0.7465 GB, free: 180 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004005/0.9179, allocations: 2.3 MB / 0.7488 GB, free: 179 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002476/0.9204, allocations: 1.635 MB / 0.7504 GB, free: 178.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01496/0.9353, allocations: 7.76 MB / 0.758 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.9354, allocations: 45.78 kB / 0.758 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=131): time 4.558e-06/0.9354, allocations: 0 / 0.758 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=185): time 0.08575/1.021, allocations: 22.53 MB / 0.78 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04903/1.07, allocations: 16.33 MB / 0.796 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002296/1.072, allocations: 2.39 MB / 0.7983 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000682/1.073, allocations: 60.39 kB / 0.7983 GB, free: 138.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008382/1.074, allocations: 1.815 MB / 0.8001 GB, free: 136.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008707/1.075, allocations: 0.6563 MB / 0.8008 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/1.076, allocations: 0.6684 MB / 0.8014 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.283e-05/1.076, allocations: 309.1 kB / 0.8017 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00301/1.079, allocations: 2.416 MB / 0.8041 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003322/1.082, allocations: 3.191 MB / 0.8072 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1287/1.211, allocations: 26.36 MB / 0.8329 GB, free: 102.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.983e-05/1.211, allocations: 8 kB / 0.8329 GB, free: 102.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.01992/1.231, allocations: 7.97 MB / 0.8407 GB, free: 94.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.333e-05/1.231, allocations: 16 kB / 0.8407 GB, free: 94.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.225e-05/1.231, allocations: 24 kB / 0.8408 GB, free: 94.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02016/1.251, allocations: 4.398 MB / 0.845 GB, free: 90.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004102/1.255, allocations: 0.7632 MB / 0.8458 GB, free: 89.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01085/1.266, allocations: 9.944 MB / 0.8555 GB, free: 79.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003457/1.27, allocations: 138.5 kB / 0.8556 GB, free: 79.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008838/1.27, allocations: 411.8 kB / 0.856 GB, free: 78.73 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.002313/1.273, allocations: 0.9185 MB / 0.8569 GB, free: 77.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009482/1.274, allocations: 262.3 kB / 0.8572 GB, free: 77.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02379/1.298, allocations: 8.087 MB / 0.8651 GB, free: 69.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/1.298, allocations: 20 kB / 0.8651 GB, free: 69.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.192e-05/1.298, allocations: 4 kB / 0.8651 GB, free: 69.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.403e-05/1.298, allocations: 10.97 kB / 0.8651 GB, free: 69.52 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03173/1.329, allocations: 12.75 MB / 0.8776 GB, free: 56.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.09e-05/1.329, allocations: 0 / 0.8776 GB, free: 56.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003458/1.333, allocations: 473.2 kB / 0.878 GB, free: 56.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03086/1.364, allocations: 5.119 MB / 0.883 GB, free: 50.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006763/1.364, allocations: 107.9 kB / 0.8831 GB, free: 50.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02449/1.389, allocations: 15.83 MB / 0.8986 GB, free: 34.39 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.0203/1.409, allocations: 3.519 MB / 0.902 GB, free: 30.83 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02491/1.434, allocations: 9.507 MB / 0.9113 GB, free: 21.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007572/1.435, allocations: 274.2 kB / 0.9115 GB, free: 20.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001033/1.436, allocations: 43.95 kB / 0.9116 GB, free: 20.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002868/1.439, allocations: 91.91 kB / 0.9117 GB, free: 20.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009308/1.44, allocations: 221.5 kB / 0.9119 GB, free: 20.63 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005053/1.44, allocations: 191.9 kB / 0.9121 GB, free: 20.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00266/1.443, allocations: 1.843 MB / 0.9139 GB, free: 18.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.443, allocations: 0 / 0.9139 GB, free: 18.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003672/1.447, allocations: 0.9254 MB / 0.9148 GB, free: 17.67 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.0247/1.471, allocations: 9.907 MB / 0.9245 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01048/1.482, allocations: 5.329 MB / 0.9297 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.482, allocations: 0 / 0.9297 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.007637/1.489, allocations: 3.07 MB / 0.9327 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/1.493, allocations: 0.5459 MB / 0.9332 GB, free: 14.68 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 658] [Calling sys.exit(0), Time elapsed: 3.908524894999573] Failed to read output from testmodel.py, exit status != 0: 1.5023947390145622 1.521804016 0.9137632750000001 Calling exit ...