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.001352/0.001352, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001456/0.001456, allocations: 214.3 kB / 20.13 MB, free: 3.035 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 / 253.5 MB, free: 15.11 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.1418/0.1418, allocations: 23.89 MB / 333.4 MB, free: 1.195 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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: "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterSublimation,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_WaterSublimation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterSublimation,fileNamePrefix="Chemical_master_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.002018/0.002018, allocations: 64.97 kB / 466.7 MB, free: 30.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1086, allocations: 59.84 MB / 0.5142 GB, free: 12.94 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.04352/0.1521, allocations: 26.47 MB / 0.5401 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01805/0.1701, allocations: 12.37 MB / 0.5522 GB, free: 6.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008031/0.1709, allocations: 19.81 kB / 0.5522 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008687/0.1718, allocations: 289.7 kB / 0.5524 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002831/0.1746, allocations: 1.051 MB / 0.5535 GB, free: 4.727 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004175/0.1788, allocations: 1.557 MB / 0.555 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001847/0.1806, allocations: 1.415 MB / 0.5564 GB, free: 1.738 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000904/0.1815, allocations: 0.6882 MB / 0.557 GB, free: 1.023 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007934/0.1823, allocations: 0.6857 MB / 0.5577 GB, free: 344 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.1834, allocations: 0.7317 MB / 0.5584 GB, free: 15.6 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.1836, allocations: 131.9 kB / 0.5586 GB, free: 15.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003457/0.187, allocations: 1.201 MB / 0.5597 GB, free: 14.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003118/0.1873, allocations: 299.1 kB / 0.56 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009101/0.1882, allocations: 0.6494 MB / 0.5607 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0051/0.1933, allocations: 2.712 MB / 0.5633 GB, free: 10.6 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1934, allocations: 0 / 0.5633 GB, free: 10.6 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1934, allocations: 3.938 kB / 0.5633 GB, free: 10.6 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.05e-05/0.1934, allocations: 0 / 0.5633 GB, free: 10.6 MB / 430.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.003139/0.1965, allocations: 1.661 MB / 0.5649 GB, free: 8.883 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.1966, allocations: 8.031 kB / 0.5649 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.829e-05/0.1966, allocations: 30.45 kB / 0.565 GB, free: 8.844 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002152/0.1968, allocations: 169.3 kB / 0.5651 GB, free: 8.668 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001188/0.198, allocations: 259.9 kB / 0.5654 GB, free: 8.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.199, allocations: 0.6262 MB / 0.566 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.977e-05/0.1991, allocations: 86.64 kB / 0.5661 GB, free: 7.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.1993, allocations: 120.3 kB / 0.5662 GB, free: 7.543 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/0.2016, allocations: 1.213 MB / 0.5674 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.2016, allocations: 0 / 0.5674 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.2017, allocations: 44 kB / 0.5674 GB, free: 6.242 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.2017, allocations: 28 kB / 0.5674 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002498/0.2042, allocations: 1.332 MB / 0.5687 GB, free: 4.875 MB / 430.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.006952/0.2112, allocations: 4.019 MB / 0.5727 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.2128, allocations: 0.9119 MB / 0.5735 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006403/0.2135, allocations: 339.7 kB / 0.5739 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005964/0.2194, allocations: 3.991 MB / 0.5778 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.2195, allocations: 39.12 kB / 0.5778 GB, free: 10.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=62): time 2.415e-06/0.2195, allocations: 0 / 0.5778 GB, free: 10.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=74): time 0.005331/0.2248, allocations: 2.107 MB / 0.5799 GB, free: 8.699 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.2249, allocations: 67.94 kB / 0.5799 GB, free: 8.621 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007271/0.2256, allocations: 0.5225 MB / 0.5804 GB, free: 8.086 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.152e-05/0.2256, allocations: 41.7 kB / 0.5805 GB, free: 8.039 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004244/0.2261, allocations: 0.5427 MB / 0.581 GB, free: 7.488 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/0.2263, allocations: 273.6 kB / 0.5813 GB, free: 7.219 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002813/0.2266, allocations: 190.9 kB / 0.5815 GB, free: 7.027 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.2268, allocations: 382.8 kB / 0.5818 GB, free: 6.645 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004866/0.2273, allocations: 226.2 kB / 0.582 GB, free: 6.422 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007934/0.2281, allocations: 0.5564 MB / 0.5826 GB, free: 5.719 MB / 446.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.007142/0.2352, allocations: 2.114 MB / 0.5846 GB, free: 3.441 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2352, allocations: 0 / 0.5846 GB, free: 3.441 MB / 446.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001886/0.2371, allocations: 0.9659 MB / 0.5856 GB, free: 2.465 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.2371, allocations: 11.94 kB / 0.5856 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.2372, allocations: 12 kB / 0.5856 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002747/0.2374, allocations: 81.52 kB / 0.5857 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007529/0.2382, allocations: 243.6 kB / 0.5859 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.2401, allocations: 1.715 MB / 0.5876 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005432/0.2407, allocations: 28 kB / 0.5876 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.2408, allocations: 59.98 kB / 0.5877 GB, free: 180 kB / 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.2064/0.4472, allocations: 240.8 kB / 0.5879 GB, free: 64.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.4474, allocations: 76.19 kB / 0.588 GB, free: 64.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.4494, allocations: 0.8379 MB / 0.5888 GB, free: 64.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.4494, allocations: 8.781 kB / 0.5888 GB, free: 64.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4494, allocations: 0.7812 kB / 0.5888 GB, free: 64.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.4494, allocations: 4.406 kB / 0.5888 GB, free: 64.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002868/0.4523, allocations: 1.754 MB / 0.5905 GB, free: 64.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.4523, allocations: 5.844 kB / 0.5905 GB, free: 64.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007122/0.453, allocations: 184 kB / 0.5907 GB, free: 64.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002192/0.4533, allocations: 65.2 kB / 0.5908 GB, free: 64.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.535e-05/0.4533, allocations: 33.16 kB / 0.5908 GB, free: 64.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001272/0.4546, allocations: 1.707 MB / 0.5925 GB, free: 62.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.4546, allocations: 4.234 kB / 0.5925 GB, free: 62.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.4566, allocations: 1.177 MB / 0.5936 GB, free: 62.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.4568, allocations: 155.1 kB / 0.5938 GB, free: 62.15 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.968e-05/0.4568, allocations: 24.34 kB / 0.5938 GB, free: 62.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.4572, allocations: 16.42 kB / 0.5938 GB, free: 62.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.4573, allocations: 75.72 kB / 0.5939 GB, free: 62.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-05/0.4574, allocations: 34.42 kB / 0.5939 GB, free: 62.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004589/0.4579, allocations: 350.6 kB / 0.5942 GB, free: 61.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4579, allocations: 0 / 0.5942 GB, free: 61.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001351/0.4592, allocations: 453.1 kB / 0.5947 GB, free: 61.9 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.002814/0.462, allocations: 2.153 MB / 0.5968 GB, free: 60.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.4634, allocations: 0.7804 MB / 0.5975 GB, free: 60.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4634, allocations: 1.062 kB / 0.5975 GB, free: 60.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006246/0.4641, allocations: 448.2 kB / 0.598 GB, free: 60.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009357/0.465, allocations: 173.3 kB / 0.5981 GB, free: 60.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00886/0.4738, allocations: 6.763 MB / 0.6047 GB, free: 56.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006217/0.4745, allocations: 1.008 MB / 0.6057 GB, free: 55.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006714/0.4751, allocations: 202.5 kB / 0.6059 GB, free: 55.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005123/0.4757, allocations: 442.8 kB / 0.6063 GB, free: 55.12 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4757, allocations: 2.688 kB / 0.6063 GB, free: 55.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04436/0.52, allocations: 22.64 MB / 0.6285 GB, free: 41.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.13, allocations: 8 kB / 0.6285 GB, free: 41.09 MB / 446.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_WaterSublimation_fmu --startTime=0 --stopTime=49.7 --stepSize=0.01988 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_WaterSublimation.fmu > Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.02418745099567] Failed to read output from testmodel.py, exit status != 0: 13.281374780985061 13.292410224 13.096771254 Calling exit ...