Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.WaterSublimation.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.001648/0.001648, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001529/0.001529, allocations: 217.5 kB / 23.03 MB, free: 4.945 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1423/0.1423, allocations: 23.88 MB / 337.1 MB, free: 10.98 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.Obsolete.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_WaterSublimation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_WaterSublimation",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.001961/0.001961, allocations: 63.91 kB / 471.9 MB, free: 7.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.361, allocations: 59.86 MB / 0.5193 GB, free: 9.562 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterSublimation): time 0.07329/0.4343, allocations: 25.82 MB / 0.5445 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01679/0.4511, allocations: 10.91 MB / 0.5552 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.4525, allocations: 19.88 kB / 0.5552 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009072/0.4534, allocations: 257.3 kB / 0.5554 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003687/0.4571, allocations: 1.049 MB / 0.5564 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006008/0.4631, allocations: 1.564 MB / 0.558 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002763/0.4658, allocations: 1.422 MB / 0.5594 GB, free: 164 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.4672, allocations: 0.6981 MB / 0.56 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.4682, allocations: 0.6887 MB / 0.5607 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.4694, allocations: 0.7344 MB / 0.5614 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.4696, allocations: 124 kB / 0.5616 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004087/0.4737, allocations: 1.157 MB / 0.5627 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003894/0.4741, allocations: 296.7 kB / 0.563 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007692/0.4748, allocations: 0.5437 MB / 0.5635 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006086/0.4809, allocations: 2.71 MB / 0.5661 GB, free: 9.922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.4809, allocations: 7.938 kB / 0.5662 GB, free: 9.914 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4809, allocations: 0 / 0.5662 GB, free: 9.914 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.704e-05/0.4809, allocations: 0 / 0.5662 GB, free: 9.914 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.002876/0.4838, allocations: 1.587 MB / 0.5677 GB, free: 8.289 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.4839, allocations: 8.031 kB / 0.5677 GB, free: 8.281 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.908e-05/0.4839, allocations: 30.45 kB / 0.5677 GB, free: 8.25 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002098/0.4841, allocations: 169.3 kB / 0.5679 GB, free: 8.074 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.4853, allocations: 259.9 kB / 0.5681 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.4863, allocations: 0.5581 MB / 0.5687 GB, free: 7.238 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.001e-05/0.4864, allocations: 86.64 kB / 0.5688 GB, free: 7.152 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.4866, allocations: 120.3 kB / 0.5689 GB, free: 7.035 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.4887, allocations: 1.202 MB / 0.5701 GB, free: 5.789 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.4887, allocations: 4 kB / 0.5701 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.4889, allocations: 48 kB / 0.5701 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/0.4889, allocations: 24 kB / 0.5701 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/0.4912, allocations: 1.336 MB / 0.5714 GB, free: 4.371 MB / 414.1 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.006113/0.4973, allocations: 3.074 MB / 0.5744 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.4989, allocations: 0.9024 MB / 0.5753 GB, free: 304 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005973/0.4995, allocations: 335.7 kB / 0.5756 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004652/0.5042, allocations: 2.013 MB / 0.5776 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.5042, allocations: 47.05 kB / 0.5777 GB, free: 13.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.365e-06/0.5042, allocations: 0 / 0.5777 GB, free: 13.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.00546/0.5097, allocations: 2.036 MB / 0.5796 GB, free: 11.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.5097, allocations: 64 kB / 0.5797 GB, free: 11.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007624/0.5105, allocations: 0.5264 MB / 0.5802 GB, free: 11.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.5105, allocations: 37.7 kB / 0.5803 GB, free: 11.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/0.511, allocations: 0.5466 MB / 0.5808 GB, free: 10.6 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.5112, allocations: 273.7 kB / 0.581 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002763/0.5115, allocations: 190.9 kB / 0.5812 GB, free: 10.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.5117, allocations: 382.8 kB / 0.5816 GB, free: 9.754 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.5121, allocations: 230.2 kB / 0.5818 GB, free: 9.531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007826/0.5129, allocations: 0.5486 MB / 0.5824 GB, free: 8.84 MB / 430.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: solid.temperature = solid.temperature_start (gas.temperature_start = solid.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006722/0.5196, allocations: 2.043 MB / 0.5843 GB, free: 6.652 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.5196, allocations: 4 kB / 0.5844 GB, free: 6.648 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001964/0.5216, allocations: 0.9626 MB / 0.5853 GB, free: 5.676 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.5216, allocations: 12 kB / 0.5853 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.5217, allocations: 12 kB / 0.5853 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003048/0.522, allocations: 76.81 kB / 0.5854 GB, free: 5.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007667/0.5227, allocations: 231.6 kB / 0.5856 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.5247, allocations: 1.62 MB / 0.5872 GB, free: 3.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006341/0.5253, allocations: 32 kB / 0.5872 GB, free: 3.582 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.5255, allocations: 63.98 kB / 0.5873 GB, free: 3.52 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: solid.temperature = solid.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005868/0.526, allocations: 252.3 kB / 0.5875 GB, free: 3.266 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.5262, allocations: 79.47 kB / 0.5876 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/0.5282, allocations: 0.8458 MB / 0.5884 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.5283, allocations: 8 kB / 0.5884 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.5283, allocations: 3.984 kB / 0.5884 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.5283, allocations: 7.984 kB / 0.5884 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/0.5313, allocations: 1.594 MB / 0.59 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.5313, allocations: 0 / 0.59 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007315/0.5321, allocations: 192.1 kB / 0.5902 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002321/0.5323, allocations: 64.75 kB / 0.5902 GB, free: 384 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.772e-05/0.5324, allocations: 28 kB / 0.5903 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.5343, allocations: 1.588 MB / 0.5918 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.5343, allocations: 7.969 kB / 0.5918 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.5363, allocations: 1.187 MB / 0.593 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.5365, allocations: 75.45 kB / 0.5931 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.5366, allocations: 20 kB / 0.5931 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.537, allocations: 16 kB / 0.5931 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.5371, allocations: 76.47 kB / 0.5932 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.76e-05/0.5372, allocations: 35.98 kB / 0.5932 GB, free: 13.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000493/0.5377, allocations: 350.8 kB / 0.5935 GB, free: 12.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5377, allocations: 4 kB / 0.5935 GB, free: 12.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001514/0.5392, allocations: 455 kB / 0.594 GB, free: 12.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (H2O_gaseuous.logn,otherSubstances.logn,H2O_solid.molarEnthalpy,H2O_solid.logn) * 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 (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003533/0.5427, allocations: 2.135 MB / 0.5961 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.5443, allocations: 0.7853 MB / 0.5968 GB, free: 9.402 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5443, allocations: 0.625 kB / 0.5968 GB, free: 9.402 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007051/0.5451, allocations: 450.1 kB / 0.5973 GB, free: 8.949 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009937/0.546, allocations: 178.6 kB / 0.5974 GB, free: 8.773 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.5572, allocations: 6.766 MB / 0.604 GB, free: 1.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.5578, allocations: 421.7 kB / 0.6044 GB, free: 1.125 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006976/0.5585, allocations: 206 kB / 0.6046 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006279/0.5591, allocations: 443.2 kB / 0.6051 GB, free: 500 kB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.5591, allocations: 0 / 0.6051 GB, free: 500 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06134/0.6205, allocations: 23.82 MB / 0.6283 GB, free: 8.926 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/14.7, allocations: 11.33 kB / 0.6283 GB, free: 8.918 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.WaterSublimation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_WaterSublimation_fmu --startTime=0 --stopTime=49.7 --stepSize=0.01988 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_WaterSublimation.fmu > Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.631447805906646] Failed to read output from testmodel.py, exit status != 0: 14.888658878975548 14.914027727 14.428090306 Calling exit ...