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.0008349/0.0008349, allocations: 80.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008332/0.0008332, allocations: 165.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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 0.9621/0.9621, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.09395/0.09395, allocations: 17.38 MB / 276.6 MB, free: 11.84 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 3.938 kB / 411.4 MB, free: 444 kB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.157e-05, allocations: 2.281 kB / 411.4 MB, free: 440 kB / 378.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.00825/0.008271, allocations: 11.54 MB / 423 MB, free: 4.832 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.3132/0.3214, allocations: 126.2 MB / 0.5363 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002341/0.3238, allocations: 40.62 kB / 0.5363 GB, free: 0.8398 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002902/0.3267, allocations: 1.179 MB / 0.5375 GB, free: 328 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003571/0.3302, allocations: 1.355 MB / 0.5388 GB, free: 15.4 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003599/0.3338, allocations: 1.625 MB / 0.5404 GB, free: 14.4 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.005037/0.3389, allocations: 3.848 MB / 0.5441 GB, free: 11.95 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009728/0.3399, allocations: 0.7088 MB / 0.5448 GB, free: 11.2 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002636/0.3425, allocations: 1.953 MB / 0.5467 GB, free: 9.246 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.3438, allocations: 1.098 MB / 0.5478 GB, free: 8.145 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005847/0.3444, allocations: 336 kB / 0.5481 GB, free: 7.816 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002724/0.3471, allocations: 1.286 MB / 0.5494 GB, free: 6.531 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005906/0.3477, allocations: 1.008 MB / 0.5504 GB, free: 5.52 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001454/0.3491, allocations: 1.169 MB / 0.5515 GB, free: 4.348 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0061/0.3552, allocations: 5.559 MB / 0.557 GB, free: 14.77 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3552, allocations: 0 / 0.557 GB, free: 14.77 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3552, allocations: 0 / 0.557 GB, free: 14.77 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000144/0.3554, allocations: 0 / 0.557 GB, free: 14.77 MB / 458.7 MB 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.005219/0.3606, allocations: 3.964 MB / 0.5608 GB, free: 10.76 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.3607, allocations: 12.03 kB / 0.5608 GB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004071/0.3611, allocations: 0.4987 MB / 0.5613 GB, free: 10.24 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.3625, allocations: 0.785 MB / 0.5621 GB, free: 9.461 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/0.3644, allocations: 1.726 MB / 0.5638 GB, free: 7.695 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003978/0.3648, allocations: 0.5553 MB / 0.5643 GB, free: 7.105 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003011/0.3651, allocations: 328.3 kB / 0.5646 GB, free: 6.785 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009374/0.3745, allocations: 12.37 MB / 0.5767 GB, free: 10.39 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/0.3745, allocations: 384 / 0.5767 GB, free: 10.39 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/0.3747, allocations: 135.9 kB / 0.5768 GB, free: 10.26 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006216/0.3753, allocations: 499.5 kB / 0.5773 GB, free: 9.773 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/0.3902, allocations: 21.37 MB / 0.5982 GB, free: 4.395 MB / 490.7 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.03118/0.4214, allocations: 29.15 MB / 0.6267 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005408/0.4268, allocations: 5.401 MB / 0.6319 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.192/0.6188, allocations: 4.327 MB / 0.6362 GB, free: 174.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/0.6201, allocations: 0.7029 MB / 0.6368 GB, free: 174 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.6202, allocations: 53.83 kB / 0.6369 GB, free: 173.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 5.49e-06/0.6202, allocations: 3.156 kB / 0.6369 GB, free: 173.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=232): time 0.09653/0.7167, allocations: 48.59 MB / 0.6843 GB, free: 156.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.09639/0.8131, allocations: 60.48 MB / 0.7434 GB, free: 99.69 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00341/0.8165, allocations: 3.761 MB / 0.7471 GB, free: 95.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008985/0.8174, allocations: 61.7 kB / 0.7471 GB, free: 95.87 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007136/0.8181, allocations: 1.615 MB / 0.7487 GB, free: 94.37 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00106/0.8192, allocations: 0.8096 MB / 0.7495 GB, free: 93.67 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001482/0.8207, allocations: 0.7731 MB / 0.7503 GB, free: 92.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 3.329e-05/0.8207, allocations: 305.1 kB / 0.7506 GB, free: 92.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006207/0.8269, allocations: 7.533 MB / 0.7579 GB, free: 85.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006699/0.8336, allocations: 7.866 MB / 0.7656 GB, free: 77.08 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1158/0.9494, allocations: 42.94 MB / 0.8075 GB, free: 34.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/0.9495, allocations: 4 kB / 0.8075 GB, free: 34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.02952/0.979, allocations: 20.82 MB / 0.8279 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.979, allocations: 11.98 kB / 0.8279 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.979, allocations: 8 kB / 0.8279 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02166/1.001, allocations: 10.56 MB / 0.8382 GB, free: 2.586 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003942/1.005, allocations: 0.9715 MB / 0.8391 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2525/1.257, allocations: 41.32 MB / 0.8795 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004005/1.261, allocations: 277.7 kB / 0.8798 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001072/1.262, allocations: 0.5308 MB / 0.8803 GB, free: 147.6 MB / 0.5105 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.002449/1.265, allocations: 0.8746 MB / 0.8811 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009487/1.266, allocations: 339.1 kB / 0.8814 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02409/1.29, allocations: 14.01 MB / 0.8951 GB, free: 141.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02068/1.31, allocations: 11.47 MB / 0.9063 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-05/1.31, allocations: 3.938 kB / 0.9063 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-05/1.311, allocations: 12 kB / 0.9063 GB, free: 137.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02935/1.34, allocations: 21.61 MB / 0.9275 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.473e-05/1.34, allocations: 7.719 kB / 0.9275 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002466/1.342, allocations: 0.501 MB / 0.9279 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03718/1.38, allocations: 11 MB / 0.9387 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006919/1.38, allocations: 139.8 kB / 0.9388 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02194/1.402, allocations: 19.69 MB / 0.9581 GB, free: 87.69 MB / 0.5105 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.04553/1.448, allocations: 20.06 MB / 0.9776 GB, free: 67.35 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02474/1.472, allocations: 17.87 MB / 0.9951 GB, free: 49.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/1.474, allocations: 465.7 kB / 0.9955 GB, free: 48.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009774/1.475, allocations: 54.06 kB / 0.9956 GB, free: 48.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002319/1.477, allocations: 207 kB / 0.9958 GB, free: 48.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008927/1.478, allocations: 289.4 kB / 0.9961 GB, free: 48.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003621/1.479, allocations: 248 kB / 0.9963 GB, free: 48.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003282/1.482, allocations: 3.426 MB / 0.9996 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.11e-07/1.482, allocations: 0 / 0.9996 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005695/1.488, allocations: 1.482 MB / 1.001 GB, free: 43.28 MB / 0.5105 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.02332/1.511, allocations: 17.45 MB / 1.018 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01372/1.525, allocations: 11.7 MB / 1.03 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/1.525, allocations: 0 / 1.03 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007456/1.532, allocations: 4.773 MB / 1.034 GB, free: 9.273 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004346/1.536, allocations: 0.7132 MB / 1.035 GB, free: 8.586 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:4676:9-4676:59:writable] Error: Internal error function createStateSetsSets failed. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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.5114108454436064] Failed to read output from testmodel.py, exit status != 0: 1.5436820480972528 1.735835903 1.378638421 Calling exit ...