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.001507/0.001507, allocations: 107.3 kB / 16.45 MB, free: 6.453 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.001441/0.001441, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.1634/0.1634, allocations: 23.85 MB / 332.7 MB, free: 12.37 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.002073/0.002073, allocations: 75.89 kB / 466.5 MB, free: 9.605 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3981, allocations: 59.82 MB / 0.5139 GB, free: 9.148 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.04801/0.4461, allocations: 26.41 MB / 0.5397 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01788/0.464, allocations: 12.38 MB / 0.5518 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.4656, allocations: 23.81 kB / 0.5519 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.4667, allocations: 282.6 kB / 0.5521 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004132/0.4708, allocations: 1.058 MB / 0.5532 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005177/0.476, allocations: 1.555 MB / 0.5547 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002787/0.4788, allocations: 1.419 MB / 0.5561 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.4801, allocations: 0.6927 MB / 0.5567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.4815, allocations: 0.6847 MB / 0.5574 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.4832, allocations: 0.7269 MB / 0.5581 GB, free: 13.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003796/0.4836, allocations: 128 kB / 0.5582 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005828/0.4894, allocations: 1.198 MB / 0.5594 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007951/0.4902, allocations: 300.5 kB / 0.5597 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.4915, allocations: 0.6523 MB / 0.5603 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01018/0.5017, allocations: 2.712 MB / 0.563 GB, free: 9.012 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.5017, allocations: 0 / 0.563 GB, free: 9.012 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.808e-06/0.5017, allocations: 0 / 0.563 GB, free: 9.012 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.871e-05/0.5018, allocations: 4 kB / 0.563 GB, free: 9.008 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.005122/0.5069, allocations: 1.658 MB / 0.5646 GB, free: 7.293 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.507, allocations: 12.03 kB / 0.5646 GB, free: 7.281 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.5084, allocations: 263.8 kB / 0.5649 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.5098, allocations: 0.6224 MB / 0.5655 GB, free: 6.359 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.674e-05/0.5099, allocations: 82.64 kB / 0.5656 GB, free: 6.277 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.5101, allocations: 120.3 kB / 0.5657 GB, free: 6.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.5126, allocations: 1.198 MB / 0.5668 GB, free: 4.918 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.5127, allocations: 3.938 kB / 0.5668 GB, free: 4.914 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.5128, allocations: 52 kB / 0.5669 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.5128, allocations: 24 kB / 0.5669 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002695/0.5155, allocations: 1.332 MB / 0.5682 GB, free: 3.5 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.007692/0.5232, allocations: 4.034 MB / 0.5722 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.5252, allocations: 0.9048 MB / 0.573 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006621/0.5259, allocations: 343.7 kB / 0.5734 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006564/0.5325, allocations: 3.975 MB / 0.5772 GB, free: 9.527 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.542e-05/0.5325, allocations: 51.05 kB / 0.5773 GB, free: 9.469 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 3.908e-06/0.5325, allocations: 3.938 kB / 0.5773 GB, free: 9.465 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.006632/0.5392, allocations: 2.114 MB / 0.5794 GB, free: 7.305 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.363e-05/0.5393, allocations: 64.05 kB / 0.5794 GB, free: 7.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.5403, allocations: 0.5263 MB / 0.5799 GB, free: 6.691 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.537e-05/0.5403, allocations: 37.7 kB / 0.58 GB, free: 6.648 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005356/0.5409, allocations: 0.5427 MB / 0.5805 GB, free: 6.098 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003268/0.5412, allocations: 269.7 kB / 0.5808 GB, free: 5.832 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003278/0.5415, allocations: 194.9 kB / 0.5809 GB, free: 5.637 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002729/0.5418, allocations: 386.8 kB / 0.5813 GB, free: 5.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005647/0.5424, allocations: 226.2 kB / 0.5815 GB, free: 5.027 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008727/0.5432, allocations: 0.5487 MB / 0.5821 GB, free: 4.336 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.007483/0.5507, allocations: 2.122 MB / 0.5841 GB, free: 2.051 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.5507, allocations: 4 kB / 0.5841 GB, free: 2.047 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002203/0.5529, allocations: 0.9626 MB / 0.5851 GB, free: 1.074 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.553, allocations: 8 kB / 0.5851 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.553, allocations: 12 kB / 0.5851 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003435/0.5533, allocations: 72.81 kB / 0.5852 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008842/0.5542, allocations: 239.6 kB / 0.5854 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002549/0.5568, allocations: 1.723 MB / 0.5871 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009462/0.5577, allocations: 32 kB / 0.5871 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/0.5579, allocations: 56.06 kB / 0.5872 GB, free: 14.79 MB / 446.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.0007199/0.5586, allocations: 253.5 kB / 0.5874 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/0.5589, allocations: 75.47 kB / 0.5875 GB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/0.5611, allocations: 0.8341 MB / 0.5883 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.5611, allocations: 11.94 kB / 0.5883 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.5611, allocations: 4 kB / 0.5883 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.5611, allocations: 3.984 kB / 0.5883 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003327/0.5644, allocations: 1.754 MB / 0.59 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.5644, allocations: 4 kB / 0.59 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007257/0.5652, allocations: 187.8 kB / 0.5902 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002284/0.5654, allocations: 56.83 kB / 0.5903 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.52e-05/0.5655, allocations: 35.92 kB / 0.5903 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/0.5674, allocations: 1.704 MB / 0.592 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/0.5674, allocations: 15.94 kB / 0.592 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.5696, allocations: 1.182 MB / 0.5931 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.5699, allocations: 148.6 kB / 0.5933 GB, free: 8.203 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.57, allocations: 20 kB / 0.5933 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.5704, allocations: 23.92 kB / 0.5933 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.5706, allocations: 72.52 kB / 0.5934 GB, free: 8.086 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.141e-05/0.5707, allocations: 35.98 kB / 0.5934 GB, free: 8.051 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006681/0.5713, allocations: 350.8 kB / 0.5938 GB, free: 7.711 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5713, allocations: 0 / 0.5938 GB, free: 7.711 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001959/0.5733, allocations: 451 kB / 0.5942 GB, free: 7.27 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.001434/0.5747, allocations: 0.525 MB / 0.5947 GB, free: 6.734 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00177/0.5765, allocations: 0.7778 MB / 0.5955 GB, free: 5.953 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5765, allocations: 0 / 0.5955 GB, free: 5.953 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007879/0.5773, allocations: 450.1 kB / 0.5959 GB, free: 5.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.5783, allocations: 179.5 kB / 0.5961 GB, free: 5.328 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.5824, allocations: 1.818 MB / 0.5978 GB, free: 3.449 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009979/0.5834, allocations: 1.009 MB / 0.5988 GB, free: 2.406 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000772/0.5841, allocations: 206 kB / 0.599 GB, free: 2.203 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003357/0.5845, allocations: 147.3 kB / 0.5992 GB, free: 2.059 MB / 446.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5845, allocations: 0 / 0.5992 GB, free: 2.059 MB / 446.1 MB Notification: Performance of Templates: time 0.03044/0.6149, allocations: 15 MB / 0.6138 GB, free: 3.098 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 os._exit(0), Time elapsed: 6.028845082968473] Failed to read output from testmodel.py, exit status != 0: 0.6252357214689255 0.641639948 0.136244361 Calling exit ...