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.001365/0.001365, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00172/0.00172, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.797 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.1445/0.1445, allocations: 23.99 MB / 336.4 MB, free: 10.88 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.002113/0.002113, allocations: 67.89 kB / 471.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3136, allocations: 59.89 MB / 0.5187 GB, free: 9.457 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.07/0.3836, allocations: 26.2 MB / 0.5443 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01597/0.3995, allocations: 10.93 MB / 0.555 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.4005, allocations: 15.88 kB / 0.555 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.4016, allocations: 266.9 kB / 0.5552 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.4052, allocations: 1.041 MB / 0.5563 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005524/0.4107, allocations: 1.571 MB / 0.5578 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002793/0.4135, allocations: 1.433 MB / 0.5592 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.4148, allocations: 0.6711 MB / 0.5599 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.416, allocations: 0.6889 MB / 0.5605 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.4174, allocations: 0.6451 MB / 0.5612 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002265/0.4176, allocations: 128 kB / 0.5613 GB, free: 13.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003443/0.4211, allocations: 1.13 MB / 0.5624 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003973/0.4215, allocations: 296.8 kB / 0.5627 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000884/0.4223, allocations: 0.5435 MB / 0.5632 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006513/0.4288, allocations: 2.708 MB / 0.5658 GB, free: 9.477 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.4289, allocations: 0 / 0.5658 GB, free: 9.477 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4289, allocations: 4 kB / 0.5658 GB, free: 9.473 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.388e-05/0.4289, allocations: 0 / 0.5658 GB, free: 9.473 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.003222/0.4321, allocations: 1.581 MB / 0.5674 GB, free: 7.855 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.4321, allocations: 8.031 kB / 0.5674 GB, free: 7.848 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002134/0.4324, allocations: 173.3 kB / 0.5676 GB, free: 7.668 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.4335, allocations: 267.6 kB / 0.5678 GB, free: 7.406 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.4346, allocations: 0.5542 MB / 0.5684 GB, free: 6.828 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.038e-05/0.4347, allocations: 86.64 kB / 0.5684 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.4349, allocations: 116.3 kB / 0.5686 GB, free: 6.629 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.437, allocations: 1.202 MB / 0.5697 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.437, allocations: 0 / 0.5697 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.4371, allocations: 44 kB / 0.5698 GB, free: 5.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/0.4371, allocations: 28 kB / 0.5698 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.4395, allocations: 1.32 MB / 0.5711 GB, free: 3.984 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.00611/0.4456, allocations: 3.097 MB / 0.5741 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.4472, allocations: 0.8789 MB / 0.575 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005859/0.4478, allocations: 339.7 kB / 0.5753 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00488/0.4527, allocations: 2.025 MB / 0.5773 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/0.4527, allocations: 39.06 kB / 0.5773 GB, free: 13.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 4.518e-06/0.4527, allocations: 3.984 kB / 0.5773 GB, free: 13.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005241/0.458, allocations: 2.041 MB / 0.5793 GB, free: 11.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.458, allocations: 64 kB / 0.5794 GB, free: 11.33 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000736/0.4587, allocations: 0.534 MB / 0.5799 GB, free: 10.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.4588, allocations: 45.58 kB / 0.5799 GB, free: 10.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/0.4592, allocations: 0.5505 MB / 0.5805 GB, free: 10.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.4594, allocations: 273.7 kB / 0.5807 GB, free: 9.906 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/0.4597, allocations: 190.9 kB / 0.5809 GB, free: 9.715 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.4599, allocations: 382.8 kB / 0.5813 GB, free: 9.332 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/0.4604, allocations: 230.2 kB / 0.5815 GB, free: 9.109 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007381/0.4611, allocations: 0.5486 MB / 0.582 GB, free: 8.418 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.00651/0.4676, allocations: 2.038 MB / 0.584 GB, free: 6.234 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.4676, allocations: 4 kB / 0.584 GB, free: 6.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001869/0.4695, allocations: 0.9545 MB / 0.585 GB, free: 5.266 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.4695, allocations: 15.98 kB / 0.585 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.4695, allocations: 8 kB / 0.585 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002645/0.4698, allocations: 72.83 kB / 0.585 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007533/0.4706, allocations: 235.6 kB / 0.5853 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.4724, allocations: 1.616 MB / 0.5869 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/0.4729, allocations: 32 kB / 0.5869 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.126e-05/0.473, allocations: 55.98 kB / 0.5869 GB, free: 3.121 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.000451/0.4735, allocations: 257.9 kB / 0.5872 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.4736, allocations: 79.47 kB / 0.5873 GB, free: 2.781 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001794/0.4754, allocations: 0.842 MB / 0.5881 GB, free: 1.926 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.4754, allocations: 12 kB / 0.5881 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.4754, allocations: 0 / 0.5881 GB, free: 1.914 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.4754, allocations: 3.984 kB / 0.5881 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002932/0.4784, allocations: 1.598 MB / 0.5897 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4784, allocations: 4.031 kB / 0.5897 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006689/0.479, allocations: 187.7 kB / 0.5898 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002242/0.4793, allocations: 72.77 kB / 0.5899 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.886e-05/0.4793, allocations: 31.98 kB / 0.5899 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.4811, allocations: 1.592 MB / 0.5915 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4811, allocations: 4 kB / 0.5915 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.483, allocations: 1.186 MB / 0.5927 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.4832, allocations: 63.48 kB / 0.5927 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.51e-05/0.4833, allocations: 24.03 kB / 0.5927 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003204/0.4836, allocations: 23.84 kB / 0.5928 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.4837, allocations: 76.41 kB / 0.5928 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.946e-05/0.4838, allocations: 40.06 kB / 0.5929 GB, free: 12.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004641/0.4843, allocations: 346.8 kB / 0.5932 GB, free: 12.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4843, allocations: 0 / 0.5932 GB, free: 12.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00133/0.4856, allocations: 459 kB / 0.5936 GB, free: 11.98 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.003233/0.4888, allocations: 2.135 MB / 0.5957 GB, free: 9.781 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.4903, allocations: 0.7859 MB / 0.5965 GB, free: 8.988 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4903, allocations: 4 kB / 0.5965 GB, free: 8.984 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006666/0.491, allocations: 446.1 kB / 0.5969 GB, free: 8.535 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009337/0.4919, allocations: 182.6 kB / 0.5971 GB, free: 8.355 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.5023, allocations: 6.762 MB / 0.6037 GB, free: 1.156 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005012/0.5028, allocations: 417.7 kB / 0.6041 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007296/0.5035, allocations: 202 kB / 0.6043 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006539/0.5042, allocations: 443.2 kB / 0.6047 GB, free: 84 kB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5042, allocations: 0 / 0.6047 GB, free: 84 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06509/0.5693, allocations: 23.82 MB / 0.628 GB, free: 8.496 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.06, allocations: 6.562 kB / 0.628 GB, free: 8.492 MB / 478.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 sys.exit(0), Time elapsed: 15.793632588814944] Failed to read output from testmodel.py, exit status != 0: 13.209785828832537 13.237433002 12.803624628 Calling exit ...