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.001704/0.001704, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001471/0.001471, allocations: 220.7 kB / 23.03 MB, free: 4.941 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.493/1.493, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1396/0.1396, allocations: 23.92 MB / 337.1 MB, free: 10.96 MB / 270.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.002041/0.002041, allocations: 71.89 kB / 471.9 MB, free: 7.496 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3188/0.3209, allocations: 59.87 MB / 0.5193 GB, free: 9.734 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.07076/0.3916, allocations: 25.82 MB / 0.5446 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01599/0.4076, allocations: 10.9 MB / 0.5552 GB, free: 3.996 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.4086, allocations: 23.81 kB / 0.5552 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009308/0.4096, allocations: 260.5 kB / 0.5555 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003424/0.413, allocations: 1.043 MB / 0.5565 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004628/0.4176, allocations: 1.572 MB / 0.558 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002357/0.42, allocations: 1.415 MB / 0.5594 GB, free: 324 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.421, allocations: 0.6996 MB / 0.5601 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008853/0.4219, allocations: 0.6881 MB / 0.5608 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001052/0.423, allocations: 0.731 MB / 0.5615 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002123/0.4232, allocations: 128 kB / 0.5616 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003356/0.4266, allocations: 1.157 MB / 0.5627 GB, free: 13.35 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003599/0.4269, allocations: 292.3 kB / 0.563 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007109/0.4276, allocations: 0.5481 MB / 0.5635 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005178/0.4328, allocations: 2.71 MB / 0.5662 GB, free: 10.03 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4328, allocations: 0 / 0.5662 GB, free: 10.03 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4328, allocations: 0 / 0.5662 GB, free: 10.03 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.99e-05/0.4328, allocations: 3.938 kB / 0.5662 GB, free: 10.03 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.002988/0.4358, allocations: 1.591 MB / 0.5678 GB, free: 8.398 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.4359, allocations: 8.031 kB / 0.5678 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.745e-05/0.4359, allocations: 30.45 kB / 0.5678 GB, free: 8.359 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002091/0.4361, allocations: 173.3 kB / 0.568 GB, free: 8.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.4373, allocations: 259.9 kB / 0.5682 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.4383, allocations: 0.5542 MB / 0.5687 GB, free: 7.348 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-05/0.4384, allocations: 90.62 kB / 0.5688 GB, free: 7.258 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.4386, allocations: 116.3 kB / 0.5689 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.4408, allocations: 1.202 MB / 0.5701 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.4408, allocations: 4 kB / 0.5701 GB, free: 5.895 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.4409, allocations: 44 kB / 0.5702 GB, free: 5.852 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/0.4409, allocations: 28 kB / 0.5702 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/0.4433, allocations: 1.332 MB / 0.5715 GB, free: 4.484 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.006102/0.4494, allocations: 3.082 MB / 0.5745 GB, free: 1.312 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.451, allocations: 0.8985 MB / 0.5754 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000597/0.4516, allocations: 339.7 kB / 0.5757 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004829/0.4564, allocations: 2.009 MB / 0.5777 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.4565, allocations: 35.06 kB / 0.5777 GB, free: 14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.505e-06/0.4565, allocations: 4 kB / 0.5777 GB, free: 13.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005336/0.4618, allocations: 2.04 MB / 0.5797 GB, free: 11.92 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.4619, allocations: 64 kB / 0.5798 GB, free: 11.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006639/0.4625, allocations: 0.5302 MB / 0.5803 GB, free: 11.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.4626, allocations: 41.7 kB / 0.5803 GB, free: 11.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004179/0.463, allocations: 0.5505 MB / 0.5808 GB, free: 10.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/0.4632, allocations: 273.7 kB / 0.5811 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.4635, allocations: 190.9 kB / 0.5813 GB, free: 10.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.4637, allocations: 378.8 kB / 0.5816 GB, free: 9.859 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004541/0.4642, allocations: 234.2 kB / 0.5819 GB, free: 9.633 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007081/0.4649, allocations: 0.5408 MB / 0.5824 GB, free: 8.949 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.006861/0.4717, allocations: 2.043 MB / 0.5844 GB, free: 6.762 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.4717, allocations: 4 kB / 0.5844 GB, free: 6.758 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001843/0.4736, allocations: 0.9586 MB / 0.5853 GB, free: 5.789 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4736, allocations: 12 kB / 0.5853 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.4736, allocations: 12.16 kB / 0.5854 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00027/0.4739, allocations: 76.81 kB / 0.5854 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007489/0.4746, allocations: 235.6 kB / 0.5857 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.4764, allocations: 1.616 MB / 0.5872 GB, free: 3.727 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005719/0.477, allocations: 44.05 kB / 0.5873 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.4771, allocations: 56 kB / 0.5873 GB, free: 3.629 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.0004833/0.4776, allocations: 253.4 kB / 0.5876 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.4777, allocations: 75.47 kB / 0.5876 GB, free: 3.297 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001866/0.4796, allocations: 0.842 MB / 0.5885 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.4796, allocations: 8 kB / 0.5885 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4796, allocations: 0 / 0.5885 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.4796, allocations: 3.984 kB / 0.5885 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002854/0.4825, allocations: 1.602 MB / 0.59 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.4825, allocations: 4 kB / 0.59 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007245/0.4832, allocations: 183.8 kB / 0.5902 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002257/0.4834, allocations: 76.98 kB / 0.5903 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.007e-05/0.4835, allocations: 32 kB / 0.5903 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.4852, allocations: 1.588 MB / 0.5919 GB, free: 14.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.4852, allocations: 4 kB / 0.5919 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.4872, allocations: 1.186 MB / 0.593 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.4874, allocations: 71.52 kB / 0.5931 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.4875, allocations: 20 kB / 0.5931 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.4878, allocations: 16 kB / 0.5931 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.488, allocations: 80.41 kB / 0.5932 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.755e-05/0.488, allocations: 35.98 kB / 0.5933 GB, free: 13.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004702/0.4885, allocations: 350.8 kB / 0.5936 GB, free: 12.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4885, allocations: 0 / 0.5936 GB, free: 12.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001455/0.49, allocations: 451 kB / 0.594 GB, free: 12.52 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.003327/0.4933, allocations: 2.143 MB / 0.5961 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.4949, allocations: 0.7843 MB / 0.5969 GB, free: 9.508 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4949, allocations: 1.688 kB / 0.5969 GB, free: 9.508 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007037/0.4956, allocations: 450.8 kB / 0.5973 GB, free: 9.055 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.4966, allocations: 181.6 kB / 0.5975 GB, free: 8.875 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.5074, allocations: 6.758 MB / 0.6041 GB, free: 1.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004826/0.5079, allocations: 425.7 kB / 0.6045 GB, free: 1.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006733/0.5085, allocations: 194 kB / 0.6047 GB, free: 1.039 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006538/0.5092, allocations: 447.2 kB / 0.6051 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5092, allocations: 0 / 0.6051 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07871/0.5879, allocations: 23.82 MB / 0.6284 GB, free: 9.031 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.81/15.4, allocations: 14.73 kB / 0.6284 GB, free: 9.02 MB / 478.1 MB " [Timeout remaining time 644] (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 sys.exit(0), Time elapsed: 18.272486350964755] Failed to read output from testmodel.py, exit status != 0: 15.58522085705772 15.607129298 15.171011761 Calling exit ...