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.001369/0.001369, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001432/0.001432, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.1485/0.1485, allocations: 23.86 MB / 337.1 MB, free: 11.21 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterSublimation,fileNamePrefix="Chemical_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.002044/0.002044, allocations: 67.89 kB / 472 MB, free: 7.719 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3725, allocations: 59.86 MB / 0.5193 GB, free: 9.645 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.04088/0.4134, allocations: 26.5 MB / 0.5452 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01847/0.4319, allocations: 12.41 MB / 0.5573 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/0.4332, allocations: 19.81 kB / 0.5574 GB, free: 1.855 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.4342, allocations: 289.8 kB / 0.5576 GB, free: 1.633 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003709/0.4379, allocations: 1.061 MB / 0.5587 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006949/0.4449, allocations: 1.572 MB / 0.5602 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003102/0.448, allocations: 1.419 MB / 0.5616 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.4491, allocations: 0.6972 MB / 0.5623 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.4502, allocations: 0.68 MB / 0.5629 GB, free: 12.97 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.4515, allocations: 0.7346 MB / 0.5637 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002084/0.4517, allocations: 128 kB / 0.5638 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005001/0.4567, allocations: 1.206 MB / 0.565 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000381/0.4571, allocations: 288.1 kB / 0.5652 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000829/0.458, allocations: 0.6523 MB / 0.5659 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006264/0.4642, allocations: 2.718 MB / 0.5685 GB, free: 7.754 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4642, allocations: 0 / 0.5685 GB, free: 7.754 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4642, allocations: 0 / 0.5685 GB, free: 7.754 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.793e-05/0.4643, allocations: 3.938 kB / 0.5685 GB, free: 7.75 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.003263/0.4675, allocations: 1.579 MB / 0.5701 GB, free: 6.133 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4676, allocations: 12.03 kB / 0.5701 GB, free: 6.121 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.58e-05/0.4676, allocations: 30.45 kB / 0.5701 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001993/0.4678, allocations: 173.3 kB / 0.5703 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.4689, allocations: 255.9 kB / 0.5705 GB, free: 5.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.47, allocations: 0.5659 MB / 0.5711 GB, free: 5.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.338e-05/0.4701, allocations: 82.64 kB / 0.5712 GB, free: 4.988 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001875/0.4703, allocations: 124.3 kB / 0.5713 GB, free: 4.867 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.4724, allocations: 1.202 MB / 0.5724 GB, free: 3.621 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.4724, allocations: 0 / 0.5724 GB, free: 3.621 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.4725, allocations: 48 kB / 0.5725 GB, free: 3.574 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.4725, allocations: 24 kB / 0.5725 GB, free: 3.551 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/0.4748, allocations: 1.336 MB / 0.5738 GB, free: 2.207 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.006362/0.4812, allocations: 3.965 MB / 0.5777 GB, free: 14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.4828, allocations: 0.8947 MB / 0.5786 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005889/0.4834, allocations: 339.7 kB / 0.5789 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004593/0.4879, allocations: 2.119 MB / 0.581 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.488, allocations: 39.06 kB / 0.581 GB, free: 10.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.154e-06/0.488, allocations: 0 / 0.581 GB, free: 10.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.004972/0.493, allocations: 2.047 MB / 0.583 GB, free: 8.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.493, allocations: 64 kB / 0.5831 GB, free: 8.426 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007022/0.4937, allocations: 0.5225 MB / 0.5836 GB, free: 7.891 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/0.4938, allocations: 45.69 kB / 0.5836 GB, free: 7.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/0.4942, allocations: 0.5466 MB / 0.5841 GB, free: 7.285 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.4944, allocations: 273.7 kB / 0.5844 GB, free: 7.016 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.4947, allocations: 190.9 kB / 0.5846 GB, free: 6.824 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.4948, allocations: 382.8 kB / 0.585 GB, free: 6.441 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/0.4953, allocations: 230.2 kB / 0.5852 GB, free: 6.219 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007491/0.496, allocations: 0.5486 MB / 0.5857 GB, free: 5.527 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.006639/0.5027, allocations: 2.039 MB / 0.5877 GB, free: 3.344 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/0.5027, allocations: 4 kB / 0.5877 GB, free: 3.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001849/0.5045, allocations: 0.9541 MB / 0.5886 GB, free: 2.375 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.5046, allocations: 12 kB / 0.5886 GB, free: 2.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.5046, allocations: 8.906 kB / 0.5887 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002715/0.5048, allocations: 92.75 kB / 0.5887 GB, free: 2.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007847/0.5056, allocations: 227.7 kB / 0.589 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/0.5075, allocations: 1.623 MB / 0.5905 GB, free: 308 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005401/0.508, allocations: 28 kB / 0.5906 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-05/0.5081, allocations: 59.98 kB / 0.5906 GB, free: 220 kB / 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.0004647/0.5086, allocations: 257.5 kB / 0.5909 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.5087, allocations: 83.52 kB / 0.591 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.5106, allocations: 0.8497 MB / 0.5918 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.5106, allocations: 8 kB / 0.5918 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.5106, allocations: 0 / 0.5918 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.5106, allocations: 3.984 kB / 0.5918 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.5135, allocations: 1.722 MB / 0.5935 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.5135, allocations: 7.984 kB / 0.5935 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006822/0.5142, allocations: 180.1 kB / 0.5937 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002238/0.5144, allocations: 72.69 kB / 0.5937 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/0.5144, allocations: 35.94 kB / 0.5938 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.5162, allocations: 1.6 MB / 0.5953 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.5162, allocations: 4 kB / 0.5953 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.5183, allocations: 1.186 MB / 0.5965 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.5186, allocations: 71.48 kB / 0.5966 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.821e-05/0.5187, allocations: 20.03 kB / 0.5966 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.519, allocations: 16 kB / 0.5966 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.5192, allocations: 80.41 kB / 0.5967 GB, free: 9.754 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.101e-05/0.5193, allocations: 40 kB / 0.5967 GB, free: 9.715 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004976/0.5198, allocations: 342.8 kB / 0.597 GB, free: 9.383 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5198, allocations: 4 kB / 0.597 GB, free: 9.379 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001456/0.5212, allocations: 459 kB / 0.5975 GB, free: 8.93 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.003328/0.5245, allocations: 2.135 MB / 0.5996 GB, free: 6.727 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.5261, allocations: 0.777 MB / 0.6003 GB, free: 5.938 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5261, allocations: 0 / 0.6003 GB, free: 5.938 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006747/0.5268, allocations: 451.9 kB / 0.6007 GB, free: 5.484 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.5278, allocations: 188.9 kB / 0.6009 GB, free: 5.301 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009941/0.5378, allocations: 6.755 MB / 0.6075 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006972/0.5385, allocations: 1.009 MB / 0.6085 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006729/0.5391, allocations: 202 kB / 0.6087 GB, free: 12.87 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006179/0.5398, allocations: 439.2 kB / 0.6091 GB, free: 12.44 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5398, allocations: 3.938 kB / 0.6091 GB, free: 12.43 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05977/0.5995, allocations: 23.36 MB / 0.6319 GB, free: 5.25 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.55, allocations: 19.38 kB / 0.632 GB, free: 5.234 MB / 478.1 MB " [Timeout remaining time 645] (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: 17.56955929705873] Failed to read output from testmodel.py, exit status != 0: 14.73585284606088 14.761610729 14.292371379 Calling exit ...