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.001345/0.001345, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001447/0.001447, allocations: 214.4 kB / 22.24 MB, free: 5.262 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.773 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.155/0.155, allocations: 23.88 MB / 336.3 MB, free: 11.03 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_WaterSublimation",fmuType="me",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.00213/0.00213, allocations: 67.91 kB / 471.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3916, allocations: 59.86 MB / 0.5185 GB, free: 9.52 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.07666/0.4682, allocations: 26.2 MB / 0.5441 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01687/0.4851, allocations: 10.93 MB / 0.5548 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.4863, allocations: 15.88 kB / 0.5548 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009771/0.4873, allocations: 259 kB / 0.5551 GB, free: 3.203 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004651/0.492, allocations: 1.044 MB / 0.5561 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00633/0.4983, allocations: 1.576 MB / 0.5576 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002929/0.5012, allocations: 1.422 MB / 0.559 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.5027, allocations: 0.6792 MB / 0.5597 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.5041, allocations: 0.6851 MB / 0.5603 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001507/0.5056, allocations: 0.6404 MB / 0.561 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004563/0.506, allocations: 128 kB / 0.5611 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004401/0.5104, allocations: 1.131 MB / 0.5622 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005945/0.511, allocations: 295.6 kB / 0.5625 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001341/0.5124, allocations: 0.5512 MB / 0.563 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007518/0.5199, allocations: 2.707 MB / 0.5656 GB, free: 9.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.5199, allocations: 3.938 kB / 0.5657 GB, free: 9.586 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5199, allocations: 0 / 0.5657 GB, free: 9.586 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.626e-05/0.52, allocations: 0 / 0.5657 GB, free: 9.586 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.004162/0.5241, allocations: 1.579 MB / 0.5672 GB, free: 7.969 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.5242, allocations: 12.03 kB / 0.5672 GB, free: 7.957 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002507/0.5244, allocations: 169.3 kB / 0.5674 GB, free: 7.781 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.5256, allocations: 263.9 kB / 0.5676 GB, free: 7.523 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.5268, allocations: 0.5581 MB / 0.5682 GB, free: 6.941 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-05/0.5269, allocations: 86.64 kB / 0.5682 GB, free: 6.855 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/0.5271, allocations: 120.3 kB / 0.5684 GB, free: 6.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.5292, allocations: 1.206 MB / 0.5695 GB, free: 5.488 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.5292, allocations: 0 / 0.5695 GB, free: 5.488 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.5293, allocations: 44 kB / 0.5696 GB, free: 5.445 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/0.5293, allocations: 28 kB / 0.5696 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.5316, allocations: 1.32 MB / 0.5709 GB, free: 4.09 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.00613/0.5377, allocations: 3.082 MB / 0.5739 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.5393, allocations: 0.8907 MB / 0.5748 GB, free: 24 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006077/0.5399, allocations: 347.7 kB / 0.5751 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004811/0.5447, allocations: 2.013 MB / 0.5771 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.5448, allocations: 39.06 kB / 0.5771 GB, free: 13.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.615e-06/0.5448, allocations: 0 / 0.5771 GB, free: 13.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005065/0.5498, allocations: 2.04 MB / 0.5791 GB, free: 11.52 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.5499, allocations: 64 kB / 0.5792 GB, free: 11.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006778/0.5506, allocations: 0.534 MB / 0.5797 GB, free: 10.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.5506, allocations: 41.7 kB / 0.5797 GB, free: 10.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004077/0.551, allocations: 0.5505 MB / 0.5803 GB, free: 10.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.5513, allocations: 273.7 kB / 0.5805 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/0.5515, allocations: 190.9 kB / 0.5807 GB, free: 9.836 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.5517, allocations: 378.8 kB / 0.5811 GB, free: 9.457 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/0.5522, allocations: 230.2 kB / 0.5813 GB, free: 9.234 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007305/0.5529, allocations: 0.5447 MB / 0.5818 GB, free: 8.547 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.006525/0.5594, allocations: 2.042 MB / 0.5838 GB, free: 6.359 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.5594, allocations: 7.938 kB / 0.5838 GB, free: 6.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001811/0.5612, allocations: 0.9619 MB / 0.5848 GB, free: 5.379 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.5613, allocations: 12 kB / 0.5848 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.5613, allocations: 8 kB / 0.5848 GB, free: 5.359 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002681/0.5616, allocations: 77.61 kB / 0.5849 GB, free: 5.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007391/0.5623, allocations: 235.6 kB / 0.5851 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/0.5641, allocations: 1.616 MB / 0.5867 GB, free: 3.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005359/0.5646, allocations: 39.98 kB / 0.5867 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.579e-05/0.5647, allocations: 52 kB / 0.5867 GB, free: 3.23 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.0004432/0.5652, allocations: 258 kB / 0.587 GB, free: 2.969 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.5653, allocations: 79.47 kB / 0.5871 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.5671, allocations: 0.8418 MB / 0.5879 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.5671, allocations: 8 kB / 0.5879 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.5671, allocations: 0 / 0.5879 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.5671, allocations: 3.984 kB / 0.5879 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.5699, allocations: 1.598 MB / 0.5895 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.5699, allocations: 0 / 0.5895 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006761/0.5706, allocations: 183.8 kB / 0.5896 GB, free: 164 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002114/0.5708, allocations: 68.75 kB / 0.5897 GB, free: 92 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.509e-05/0.5709, allocations: 28 kB / 0.5897 GB, free: 64 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/0.5726, allocations: 1.6 MB / 0.5913 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.5726, allocations: 7.938 kB / 0.5913 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.5745, allocations: 1.186 MB / 0.5925 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.5747, allocations: 71.52 kB / 0.5925 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.605e-05/0.5748, allocations: 24.06 kB / 0.5925 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.5751, allocations: 16 kB / 0.5926 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.5753, allocations: 76.47 kB / 0.5926 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.379e-05/0.5753, allocations: 35.98 kB / 0.5927 GB, free: 12.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004489/0.5758, allocations: 350.8 kB / 0.593 GB, free: 12.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5758, allocations: 0 / 0.593 GB, free: 12.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001383/0.5772, allocations: 451 kB / 0.5934 GB, free: 12.11 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.003373/0.5805, allocations: 2.149 MB / 0.5955 GB, free: 9.895 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.5821, allocations: 0.7776 MB / 0.5963 GB, free: 9.109 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5821, allocations: 4 kB / 0.5963 GB, free: 9.105 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006806/0.5828, allocations: 447.3 kB / 0.5967 GB, free: 8.656 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000999/0.5838, allocations: 174.4 kB / 0.5969 GB, free: 8.484 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.5944, allocations: 6.766 MB / 0.6035 GB, free: 1.277 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/0.5949, allocations: 425.7 kB / 0.6039 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007332/0.5956, allocations: 194.1 kB / 0.6041 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006758/0.5963, allocations: 443.2 kB / 0.6045 GB, free: 208 kB / 446.1 MB Notification: Performance of SimCode: time 1.513e-06/0.5963, allocations: 0 / 0.6045 GB, free: 208 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07805/0.6743, allocations: 23.83 MB / 0.6278 GB, free: 8.621 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13, allocations: 3.859 kB / 0.6278 GB, free: 8.617 MB / 478.1 MB " [Timeout remaining time 647] (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: 15.88502813829109] Failed to read output from testmodel.py, exit status != 0: 13.120122196152806 13.137289228 12.6139968 Calling exit ...