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.0013/0.0013, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.0014/0.0014, allocations: 212.2 kB / 23 MB, free: 4.949 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.1603/0.1603, 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: translateModel(Chemical.Obsolete.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.WaterSublimation") translateModel(Chemical.Obsolete.Examples.WaterSublimation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.00204/0.00204, allocations: 67.91 kB / 472.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3561, allocations: 59.85 MB / 0.5197 GB, free: 9.801 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.07378/0.4298, allocations: 26.14 MB / 0.5453 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01644/0.4463, allocations: 10.92 MB / 0.5559 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/0.4476, allocations: 27.81 kB / 0.556 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009487/0.4486, allocations: 256.5 kB / 0.5562 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003654/0.4522, allocations: 1.045 MB / 0.5572 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005077/0.4573, allocations: 1.572 MB / 0.5588 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002596/0.4599, allocations: 1.415 MB / 0.5601 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.461, allocations: 0.702 MB / 0.5608 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009654/0.462, allocations: 0.693 MB / 0.5615 GB, free: 14.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.4632, allocations: 0.7234 MB / 0.5622 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002219/0.4634, allocations: 128 kB / 0.5623 GB, free: 14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003941/0.4673, allocations: 1.153 MB / 0.5635 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000359/0.4677, allocations: 293.2 kB / 0.5637 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007117/0.4684, allocations: 0.555 MB / 0.5643 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006055/0.4745, allocations: 2.706 MB / 0.5669 GB, free: 9.562 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.4745, allocations: 11.98 kB / 0.5669 GB, free: 9.551 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.4745, allocations: 0 / 0.5669 GB, free: 9.551 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.649e-05/0.4745, allocations: 0 / 0.5669 GB, free: 9.551 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.003048/0.4776, allocations: 1.575 MB / 0.5685 GB, free: 7.938 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.4776, allocations: 8.031 kB / 0.5685 GB, free: 7.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001116/0.4787, allocations: 263.9 kB / 0.5687 GB, free: 7.672 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.4798, allocations: 0.5581 MB / 0.5693 GB, free: 7.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.099e-05/0.4799, allocations: 82.64 kB / 0.5694 GB, free: 7.008 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.4801, allocations: 120.3 kB / 0.5695 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.4822, allocations: 1.206 MB / 0.5706 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/0.4822, allocations: 0 / 0.5706 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.4823, allocations: 44 kB / 0.5707 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.4824, allocations: 28 kB / 0.5707 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.4846, allocations: 1.32 MB / 0.572 GB, free: 4.242 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.005839/0.4905, allocations: 2.938 MB / 0.5749 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.492, allocations: 0.8945 MB / 0.5757 GB, free: 332 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005901/0.4926, allocations: 343.8 kB / 0.5761 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004603/0.4972, allocations: 2.009 MB / 0.578 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.4972, allocations: 39.06 kB / 0.5781 GB, free: 13.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.335e-06/0.4972, allocations: 0 / 0.5781 GB, free: 13.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.00489/0.5021, allocations: 2.037 MB / 0.5801 GB, free: 11.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.5022, allocations: 60.06 kB / 0.5801 GB, free: 11.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006081/0.5028, allocations: 0.4948 MB / 0.5806 GB, free: 11.26 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.5028, allocations: 37.7 kB / 0.5806 GB, free: 11.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/0.5032, allocations: 0.5466 MB / 0.5812 GB, free: 10.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.5035, allocations: 273.7 kB / 0.5814 GB, free: 10.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.5037, allocations: 194.9 kB / 0.5816 GB, free: 10.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.5039, allocations: 378.7 kB / 0.582 GB, free: 9.816 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/0.5044, allocations: 230.2 kB / 0.5822 GB, free: 9.594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007347/0.5051, allocations: 0.5563 MB / 0.5827 GB, free: 8.895 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.006136/0.5113, allocations: 2.042 MB / 0.5847 GB, free: 6.707 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.5113, allocations: 4 kB / 0.5847 GB, free: 6.703 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001782/0.513, allocations: 0.9546 MB / 0.5857 GB, free: 5.738 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.5131, allocations: 12 kB / 0.5857 GB, free: 5.727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.5131, allocations: 8 kB / 0.5857 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000258/0.5133, allocations: 72.77 kB / 0.5858 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007233/0.5141, allocations: 239.6 kB / 0.586 GB, free: 5.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001782/0.5159, allocations: 1.597 MB / 0.5875 GB, free: 3.711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/0.5164, allocations: 28 kB / 0.5876 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.892e-05/0.5165, allocations: 59.98 kB / 0.5876 GB, free: 3.625 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.0004525/0.5169, allocations: 250 kB / 0.5879 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.517, allocations: 71.56 kB / 0.5879 GB, free: 3.301 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/0.5188, allocations: 0.8337 MB / 0.5888 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5188, allocations: 8 kB / 0.5888 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5188, allocations: 4 kB / 0.5888 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.5188, allocations: 7.922 kB / 0.5888 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.5215, allocations: 1.474 MB / 0.5902 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5215, allocations: 4.062 kB / 0.5902 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006702/0.5221, allocations: 183.8 kB / 0.5904 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000203/0.5223, allocations: 64.98 kB / 0.5905 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-05/0.5224, allocations: 35.92 kB / 0.5905 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001684/0.5241, allocations: 1.577 MB / 0.592 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.5241, allocations: 4 kB / 0.592 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.5261, allocations: 1.179 MB / 0.5932 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.5263, allocations: 67.56 kB / 0.5932 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.942e-05/0.5263, allocations: 27.94 kB / 0.5933 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.5266, allocations: 20 kB / 0.5933 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.5268, allocations: 76.53 kB / 0.5934 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.511e-05/0.5269, allocations: 39.98 kB / 0.5934 GB, free: 13.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000398/0.5273, allocations: 314.9 kB / 0.5937 GB, free: 13.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5273, allocations: 0 / 0.5937 GB, free: 13.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001428/0.5287, allocations: 455 kB / 0.5941 GB, free: 12.72 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.0009291/0.5296, allocations: 0.5248 MB / 0.5947 GB, free: 12.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.5311, allocations: 0.7819 MB / 0.5954 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5311, allocations: 0 / 0.5954 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006469/0.5317, allocations: 450.8 kB / 0.5958 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008873/0.5326, allocations: 179.9 kB / 0.596 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/0.5358, allocations: 1.862 MB / 0.5978 GB, free: 8.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004745/0.5363, allocations: 421.6 kB / 0.5982 GB, free: 8.398 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/0.5367, allocations: 183.3 kB / 0.5984 GB, free: 8.219 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5367, allocations: 0 / 0.5984 GB, free: 8.219 MB / 446.1 MB Notification: Performance of Templates: time 0.02561/0.5623, allocations: 18.12 MB / 0.6161 GB, free: 6.125 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.WaterSublimation.makefile [Timeout 660] (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 & ./Chemical_Chemical.Obsolete.Examples.WaterSublimation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.084828985971399] Failed to read output from testmodel.py, exit status != 0: 0.5714986940147355 0.586366517 0.10861765400000001 Calling exit ...