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.001366/0.001366, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00163/0.00163, allocations: 216.1 kB / 22.25 MB, free: 5.078 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.387/1.387, allocations: 230.6 MB / 256 MB, free: 7.996 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.1384/0.1384, allocations: 23.89 MB / 336.3 MB, free: 11.12 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterSublimation,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterSublimation,fileNamePrefix="Chemical_master_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.001953/0.001953, allocations: 67.91 kB / 471.2 MB, free: 7.629 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3113, allocations: 59.88 MB / 0.5187 GB, free: 9.59 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.03458/0.3459, allocations: 26.67 MB / 0.5447 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01591/0.3618, allocations: 12.41 MB / 0.5568 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009553/0.3628, allocations: 19.81 kB / 0.5568 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008546/0.3636, allocations: 287.4 kB / 0.5571 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.3664, allocations: 1.064 MB / 0.5582 GB, free: 492 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004141/0.3706, allocations: 1.572 MB / 0.5597 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001821/0.3724, allocations: 1.423 MB / 0.5611 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009277/0.3733, allocations: 0.7009 MB / 0.5618 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007784/0.3741, allocations: 0.6804 MB / 0.5624 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.3751, allocations: 0.7303 MB / 0.5631 GB, free: 12.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.3753, allocations: 128 kB / 0.5633 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003889/0.3792, allocations: 1.206 MB / 0.5644 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003136/0.3795, allocations: 295.4 kB / 0.5647 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007387/0.3802, allocations: 0.6484 MB / 0.5654 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005711/0.3859, allocations: 2.712 MB / 0.568 GB, free: 7.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3859, allocations: 0 / 0.568 GB, free: 7.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.386, allocations: 0 / 0.568 GB, free: 7.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.386, allocations: 0 / 0.568 GB, free: 7.5 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.002734/0.3887, allocations: 1.587 MB / 0.5696 GB, free: 5.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.3887, allocations: 8.031 kB / 0.5696 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002016/0.3889, allocations: 169.3 kB / 0.5697 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.3899, allocations: 267.6 kB / 0.57 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000997/0.3909, allocations: 0.5542 MB / 0.5705 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.85e-05/0.391, allocations: 82.64 kB / 0.5706 GB, free: 4.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/0.3912, allocations: 124.3 kB / 0.5707 GB, free: 4.648 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.3932, allocations: 1.206 MB / 0.5719 GB, free: 3.398 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.3932, allocations: 4 kB / 0.5719 GB, free: 3.395 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/0.3933, allocations: 44 kB / 0.5719 GB, free: 3.352 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.3933, allocations: 28 kB / 0.572 GB, free: 3.324 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.3955, allocations: 1.328 MB / 0.5733 GB, free: 1.988 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.005961/0.4015, allocations: 3.965 MB / 0.5771 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.403, allocations: 0.8987 MB / 0.578 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005636/0.4035, allocations: 343.7 kB / 0.5783 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004429/0.4079, allocations: 2.122 MB / 0.5804 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.408, allocations: 39.06 kB / 0.5804 GB, free: 10.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 1.994e-06/0.408, allocations: 0 / 0.5804 GB, free: 10.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.004667/0.4126, allocations: 2.044 MB / 0.5824 GB, free: 8.273 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.4127, allocations: 60 kB / 0.5825 GB, free: 8.203 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006255/0.4133, allocations: 0.5225 MB / 0.583 GB, free: 7.668 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/0.4134, allocations: 37.7 kB / 0.583 GB, free: 7.625 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003808/0.4138, allocations: 0.5544 MB / 0.5836 GB, free: 7.062 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.414, allocations: 269.7 kB / 0.5838 GB, free: 6.797 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.4142, allocations: 186.9 kB / 0.584 GB, free: 6.609 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.4144, allocations: 382.8 kB / 0.5844 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004231/0.4148, allocations: 234.1 kB / 0.5846 GB, free: 6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006767/0.4155, allocations: 0.5486 MB / 0.5851 GB, free: 5.309 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.006142/0.4216, allocations: 2.043 MB / 0.5871 GB, free: 3.121 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.4216, allocations: 4 kB / 0.5871 GB, free: 3.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001678/0.4233, allocations: 0.9621 MB / 0.5881 GB, free: 2.145 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.4233, allocations: 11.98 kB / 0.5881 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.4234, allocations: 12 kB / 0.5881 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002528/0.4236, allocations: 77.45 kB / 0.5882 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/0.4243, allocations: 239.6 kB / 0.5884 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/0.426, allocations: 1.627 MB / 0.59 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004468/0.4265, allocations: 28 kB / 0.59 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.4266, allocations: 64.03 kB / 0.5901 GB, free: 15.97 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.0003937/0.427, allocations: 256.4 kB / 0.5903 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.4271, allocations: 75.47 kB / 0.5904 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.4288, allocations: 0.8458 MB / 0.5912 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.4288, allocations: 8 kB / 0.5912 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4288, allocations: 4 kB / 0.5912 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.4288, allocations: 3.984 kB / 0.5912 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/0.4315, allocations: 1.722 MB / 0.5929 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.4315, allocations: 0 / 0.5929 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006464/0.4321, allocations: 184.1 kB / 0.5931 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000192/0.4323, allocations: 72.69 kB / 0.5932 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.238e-05/0.4324, allocations: 31.94 kB / 0.5932 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.4339, allocations: 1.605 MB / 0.5948 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4339, allocations: 4.031 kB / 0.5948 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.4357, allocations: 1.186 MB / 0.5959 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.4359, allocations: 71.61 kB / 0.596 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.769e-05/0.436, allocations: 19.98 kB / 0.596 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.4363, allocations: 23.98 kB / 0.596 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.4364, allocations: 72.42 kB / 0.5961 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.253e-05/0.4365, allocations: 43.98 kB / 0.5962 GB, free: 9.488 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004018/0.4369, allocations: 350.8 kB / 0.5965 GB, free: 9.148 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4369, allocations: 0 / 0.5965 GB, free: 9.148 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001244/0.4381, allocations: 462.8 kB / 0.5969 GB, free: 8.695 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.002917/0.441, allocations: 2.135 MB / 0.599 GB, free: 6.492 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.4425, allocations: 0.7737 MB / 0.5998 GB, free: 5.707 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4425, allocations: 0 / 0.5998 GB, free: 5.707 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006589/0.4431, allocations: 455.2 kB / 0.6002 GB, free: 5.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000826/0.444, allocations: 170.1 kB / 0.6004 GB, free: 5.082 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009354/0.4533, allocations: 6.755 MB / 0.607 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006679/0.454, allocations: 1.017 MB / 0.608 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006239/0.4546, allocations: 210 kB / 0.6082 GB, free: 12.63 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005745/0.4552, allocations: 451.2 kB / 0.6086 GB, free: 12.19 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4552, allocations: 0 / 0.6086 GB, free: 12.19 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06109/0.5163, allocations: 23.33 MB / 0.6314 GB, free: 5.031 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.71, allocations: 0 / 0.6314 GB, free: 5.031 MB / 478.1 MB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.WaterSublimation_res.csv --start-time 0 --stop-time 49.7 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01988 Chemical_master_Chemical_Obsolete_Examples_WaterSublimation.fmu > Chemical_master_Chemical.Obsolete.Examples.WaterSublimation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.39699973799725] Failed to read output from testmodel.py, exit status != 0: 13.828363034997892 13.844653076 13.455602833 Calling exit ...