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.001923/0.001923, allocations: 104.3 kB / 16.45 MB, free: 6.387 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.002189/0.002189, allocations: 218.3 kB / 19.43 MB, free: 3.727 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.401/1.401, allocations: 230.6 MB / 252.8 MB, free: 8.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.1316/0.1316, allocations: 23.88 MB / 332.7 MB, free: 12.33 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.001984/0.001984, allocations: 75.89 kB / 466 MB, free: 10.04 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3301, allocations: 59.83 MB / 0.5135 GB, free: 8.828 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.04194/0.3721, allocations: 26.66 MB / 0.5396 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0171/0.3892, allocations: 12.38 MB / 0.5517 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001411/0.3906, allocations: 15.88 kB / 0.5517 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009192/0.3915, allocations: 286.9 kB / 0.552 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003617/0.3951, allocations: 1.062 MB / 0.553 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004463/0.3996, allocations: 1.55 MB / 0.5545 GB, free: 180 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002357/0.4019, allocations: 1.411 MB / 0.5559 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.403, allocations: 0.7005 MB / 0.5566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009125/0.4039, allocations: 0.6805 MB / 0.5572 GB, free: 13.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.405, allocations: 0.7387 MB / 0.558 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.4051, allocations: 128 kB / 0.5581 GB, free: 12.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00396/0.4091, allocations: 1.202 MB / 0.5593 GB, free: 11.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.4094, allocations: 297 kB / 0.5595 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007507/0.4102, allocations: 0.6444 MB / 0.5602 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006028/0.4162, allocations: 2.71 MB / 0.5628 GB, free: 8.797 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.485e-06/0.4162, allocations: 3.984 kB / 0.5628 GB, free: 8.793 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4162, allocations: 3.938 kB / 0.5628 GB, free: 8.789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.557e-05/0.4163, allocations: 0 / 0.5628 GB, free: 8.789 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.003072/0.4193, allocations: 1.654 MB / 0.5644 GB, free: 7.078 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4194, allocations: 12.03 kB / 0.5644 GB, free: 7.066 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002027/0.4196, allocations: 169.3 kB / 0.5646 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.4207, allocations: 267.6 kB / 0.5649 GB, free: 6.629 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009459/0.4216, allocations: 0.6223 MB / 0.5655 GB, free: 5.965 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.977e-05/0.4217, allocations: 86.64 kB / 0.5656 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.4219, allocations: 124.3 kB / 0.5657 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.4239, allocations: 1.202 MB / 0.5668 GB, free: 4.512 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.4239, allocations: 0 / 0.5668 GB, free: 4.512 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.424, allocations: 48 kB / 0.5669 GB, free: 4.465 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.424, allocations: 24 kB / 0.5669 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.4263, allocations: 1.336 MB / 0.5682 GB, free: 3.098 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.006149/0.4324, allocations: 4.023 MB / 0.5721 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.434, allocations: 0.8943 MB / 0.573 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005863/0.4346, allocations: 343.7 kB / 0.5733 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005461/0.44, allocations: 3.983 MB / 0.5772 GB, free: 9.137 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.4401, allocations: 39.12 kB / 0.5773 GB, free: 9.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.415e-06/0.4401, allocations: 0 / 0.5773 GB, free: 9.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005207/0.4453, allocations: 2.122 MB / 0.5793 GB, free: 6.926 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.4453, allocations: 64 kB / 0.5794 GB, free: 6.852 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007472/0.4461, allocations: 0.5264 MB / 0.5799 GB, free: 6.312 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.4461, allocations: 41.7 kB / 0.58 GB, free: 6.266 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/0.4466, allocations: 0.5388 MB / 0.5805 GB, free: 5.719 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.4468, allocations: 273.7 kB / 0.5808 GB, free: 5.449 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/0.4471, allocations: 186.9 kB / 0.5809 GB, free: 5.262 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.4473, allocations: 382.8 kB / 0.5813 GB, free: 4.879 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/0.4477, allocations: 226.2 kB / 0.5815 GB, free: 4.656 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007627/0.4485, allocations: 0.5526 MB / 0.582 GB, free: 3.961 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.006712/0.4552, allocations: 2.121 MB / 0.5841 GB, free: 1.676 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.4552, allocations: 0 / 0.5841 GB, free: 1.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001761/0.457, allocations: 0.9579 MB / 0.5851 GB, free: 0.707 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.457, allocations: 8.938 kB / 0.5851 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.457, allocations: 12 kB / 0.5851 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002659/0.4573, allocations: 88.78 kB / 0.5852 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007055/0.458, allocations: 235.6 kB / 0.5854 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.4598, allocations: 1.727 MB / 0.5871 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/0.4603, allocations: 28 kB / 0.5871 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.564e-05/0.4604, allocations: 59.98 kB / 0.5872 GB, free: 14.41 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.0004252/0.4608, allocations: 249.5 kB / 0.5874 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.461, allocations: 79.47 kB / 0.5875 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.4627, allocations: 0.8418 MB / 0.5883 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.4627, allocations: 8 kB / 0.5883 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4627, allocations: 4 kB / 0.5883 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.4627, allocations: 3.984 kB / 0.5883 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002781/0.4655, allocations: 1.75 MB / 0.59 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.4655, allocations: 4 kB / 0.59 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006696/0.4662, allocations: 184.1 kB / 0.5902 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/0.4664, allocations: 68.75 kB / 0.5903 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.206e-05/0.4664, allocations: 28 kB / 0.5903 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001651/0.4681, allocations: 1.708 MB / 0.592 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4681, allocations: 7.938 kB / 0.592 GB, free: 9.227 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.47, allocations: 1.183 MB / 0.5931 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.4701, allocations: 156.6 kB / 0.5933 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.22e-05/0.4702, allocations: 20 kB / 0.5933 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.4705, allocations: 19.98 kB / 0.5933 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.4707, allocations: 72.52 kB / 0.5934 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.915e-05/0.4707, allocations: 35.98 kB / 0.5934 GB, free: 7.668 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004123/0.4711, allocations: 350.8 kB / 0.5937 GB, free: 7.328 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4711, allocations: 0 / 0.5937 GB, free: 7.328 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001402/0.4725, allocations: 454.9 kB / 0.5942 GB, free: 6.883 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.003299/0.4758, allocations: 2.143 MB / 0.5963 GB, free: 4.684 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.4774, allocations: 0.7768 MB / 0.597 GB, free: 3.891 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4774, allocations: 0 / 0.597 GB, free: 3.891 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006859/0.4781, allocations: 456.1 kB / 0.5975 GB, free: 3.438 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009225/0.479, allocations: 179.5 kB / 0.5976 GB, free: 3.262 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.4899, allocations: 6.743 MB / 0.6042 GB, free: 12.06 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000851/0.4907, allocations: 1.013 MB / 0.6052 GB, free: 11.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006664/0.4914, allocations: 206 kB / 0.6054 GB, free: 10.82 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006586/0.492, allocations: 447.2 kB / 0.6058 GB, free: 10.38 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.492, allocations: 0 / 0.6058 GB, free: 10.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05766/0.5497, allocations: 22.6 MB / 0.6279 GB, free: 3.918 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.34, allocations: 6.812 kB / 0.6279 GB, free: 3.914 MB / 478.1 MB " [Timeout remaining time 648] (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: 14.966789555037394] Failed to read output from testmodel.py, exit status != 0: 12.440370582044125 12.461246229 12.041135179 Calling exit ...