Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001412/0.001412, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001559/0.001559, allocations: 216.7 kB / 23.01 MB, free: 4.609 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.1436/0.1436, allocations: 23.89 MB / 337.1 MB, free: 11.2 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: translateModel(Chemical.Obsolete.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterSublimation") translateModel(Chemical.Obsolete.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterSublimation") [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.002349/0.002349, allocations: 63.89 kB / 472.5 MB, free: 7.168 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4054, allocations: 59.87 MB / 0.5199 GB, free: 9.816 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335: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 master/Obsolete.mo:14335:7-14335: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.04329/0.4487, allocations: 26.76 MB / 0.546 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01811/0.4668, allocations: 12.41 MB / 0.5581 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001474/0.4683, allocations: 19.81 kB / 0.5581 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.4694, allocations: 283.8 kB / 0.5584 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004524/0.474, allocations: 1.068 MB / 0.5595 GB, free: 488 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005798/0.4798, allocations: 1.572 MB / 0.561 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003033/0.4828, allocations: 1.414 MB / 0.5624 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00123/0.484, allocations: 0.7007 MB / 0.5631 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.4851, allocations: 0.6806 MB / 0.5637 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.4864, allocations: 0.7306 MB / 0.5644 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002104/0.4866, allocations: 128 kB / 0.5646 GB, free: 12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005014/0.4916, allocations: 1.202 MB / 0.5657 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004545/0.492, allocations: 299.6 kB / 0.566 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009481/0.493, allocations: 0.6487 MB / 0.5667 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007814/0.5008, allocations: 2.711 MB / 0.5693 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.5008, allocations: 0 / 0.5693 GB, free: 7.426 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5008, allocations: 0 / 0.5693 GB, free: 7.426 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.626e-05/0.5008, allocations: 4 kB / 0.5693 GB, free: 7.422 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.003427/0.5043, allocations: 1.583 MB / 0.5709 GB, free: 5.801 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/0.5043, allocations: 8.031 kB / 0.5709 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.5055, allocations: 271.6 kB / 0.5711 GB, free: 5.527 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.5066, allocations: 0.5581 MB / 0.5717 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.367e-05/0.5066, allocations: 90.64 kB / 0.5718 GB, free: 4.855 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.5068, allocations: 112.3 kB / 0.5719 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.5089, allocations: 1.21 MB / 0.573 GB, free: 3.492 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.5089, allocations: 0 / 0.573 GB, free: 3.492 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.674e-05/0.509, allocations: 44 kB / 0.5731 GB, free: 3.449 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.509, allocations: 28 kB / 0.5731 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/0.5113, allocations: 1.332 MB / 0.5744 GB, free: 2.082 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.00645/0.5177, allocations: 3.969 MB / 0.5783 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.5192, allocations: 0.891 MB / 0.5792 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000582/0.5198, allocations: 343.7 kB / 0.5795 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004654/0.5244, allocations: 2.126 MB / 0.5816 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/0.5245, allocations: 43.05 kB / 0.5816 GB, free: 10.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.064e-06/0.5245, allocations: 0 / 0.5816 GB, free: 10.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005072/0.5296, allocations: 2.04 MB / 0.5836 GB, free: 8.367 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.5296, allocations: 60.06 kB / 0.5837 GB, free: 8.297 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006911/0.5303, allocations: 0.5224 MB / 0.5842 GB, free: 7.762 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.5304, allocations: 37.7 kB / 0.5842 GB, free: 7.719 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004024/0.5308, allocations: 0.5466 MB / 0.5847 GB, free: 7.164 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.531, allocations: 277.7 kB / 0.585 GB, free: 6.891 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/0.5313, allocations: 194.9 kB / 0.5852 GB, free: 6.695 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002162/0.5315, allocations: 378.8 kB / 0.5855 GB, free: 6.316 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/0.5319, allocations: 234.1 kB / 0.5858 GB, free: 6.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007458/0.5326, allocations: 0.5408 MB / 0.5863 GB, free: 5.406 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.006387/0.539, allocations: 2.05 MB / 0.5883 GB, free: 3.211 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.539, allocations: 0 / 0.5883 GB, free: 3.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001801/0.5408, allocations: 0.9624 MB / 0.5892 GB, free: 2.238 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.5409, allocations: 8 kB / 0.5892 GB, free: 2.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.5409, allocations: 12 kB / 0.5893 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002778/0.5412, allocations: 72.81 kB / 0.5893 GB, free: 2.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007204/0.5419, allocations: 235.6 kB / 0.5895 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.5437, allocations: 1.632 MB / 0.5911 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005455/0.5442, allocations: 32 kB / 0.5912 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.545e-05/0.5443, allocations: 55.98 kB / 0.5912 GB, free: 84 kB / 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.0005146/0.5448, allocations: 257.6 kB / 0.5915 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.545, allocations: 75.47 kB / 0.5915 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.5468, allocations: 0.8419 MB / 0.5924 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.5468, allocations: 11.92 kB / 0.5924 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.5468, allocations: 8 kB / 0.5924 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.5468, allocations: 3.984 kB / 0.5924 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002883/0.5497, allocations: 1.73 MB / 0.5941 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5497, allocations: 0 / 0.5941 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006654/0.5503, allocations: 179.8 kB / 0.5942 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002132/0.5506, allocations: 65.12 kB / 0.5943 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.732e-05/0.5506, allocations: 39.92 kB / 0.5943 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001667/0.5523, allocations: 1.597 MB / 0.5959 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5523, allocations: 7.969 kB / 0.5959 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/0.5542, allocations: 1.186 MB / 0.5971 GB, free: 9.812 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001892/0.5544, allocations: 75.52 kB / 0.5971 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.964e-05/0.5545, allocations: 20 kB / 0.5972 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.5548, allocations: 16 kB / 0.5972 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.555, allocations: 80.47 kB / 0.5973 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.229e-05/0.5551, allocations: 32 kB / 0.5973 GB, free: 9.594 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004647/0.5555, allocations: 350.8 kB / 0.5976 GB, free: 9.254 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5555, allocations: 0 / 0.5976 GB, free: 9.254 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001535/0.5571, allocations: 462.9 kB / 0.5981 GB, free: 8.801 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.001009/0.5581, allocations: 0.52 MB / 0.5986 GB, free: 8.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001576/0.5596, allocations: 0.7772 MB / 0.5993 GB, free: 7.473 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5596, allocations: 0 / 0.5993 GB, free: 7.473 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006683/0.5603, allocations: 451.4 kB / 0.5998 GB, free: 7.023 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009573/0.5613, allocations: 181 kB / 0.5999 GB, free: 6.852 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003632/0.5649, allocations: 1.866 MB / 0.6018 GB, free: 4.918 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007898/0.5657, allocations: 1.013 MB / 0.6027 GB, free: 3.879 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004348/0.5661, allocations: 187.3 kB / 0.6029 GB, free: 3.695 MB / 446.1 MB Notification: Performance of SimCode: time 1.473e-06/0.5661, allocations: 0 / 0.6029 GB, free: 3.695 MB / 446.1 MB Notification: Performance of Templates: time 0.02968/0.5958, allocations: 17.82 MB / 0.6203 GB, free: 1.902 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.sim & ./Chemical_master_Chemical.Obsolete.Examples.WaterSublimation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.25293144499301] Failed to read output from testmodel.py, exit status != 0: 0.6061800359748304 0.6216362360000001 0.11729738 Calling exit ...