Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.WaterSublimation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.WaterSublimation,fileNamePrefix="Chemical_Chemical_Examples_WaterSublimation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.122/0.122, allocations: 15.26 MB / 27.82 MB, free: 5.395 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 188.4 kB / 32.7 MB, free: 0.5117 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 221.3 MB / 258.8 MB, free: 68 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009337/0.0009338, allocations: 107.3 kB / 314 MB, free: 15.77 MB / 250.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.237e-05, allocations: 0 / 376.6 MB, free: 1.348 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2945, allocations: 54.61 MB / 431.2 MB, free: 49.73 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.4227, allocations: 103.1 MB / 0.5218 GB, free: 12.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.423, allocations: 69.98 kB / 0.5218 GB, free: 12 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System H2O_gaseuous.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$H2O_gaseuous. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System otherSubstances.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$otherSubstances. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011:65:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System H2O_solid.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Substance$H2O_solid. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:4721:7-4721:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System gas.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Solution$gas. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:4721:7-4721:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System solid.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Components.Solution$solid. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.09926/0.5223, allocations: 38.86 MB / 0.5598 GB, free: 5.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5223, allocations: 4 kB / 0.5598 GB, free: 5.246 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.864e-05/0.5224, allocations: 24 kB / 0.5598 GB, free: 5.223 MB / 426.7 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.003704/0.5261, allocations: 1.431 MB / 0.5612 GB, free: 3.742 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.5261, allocations: 8.031 kB / 0.5612 GB, free: 3.734 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003644/0.5265, allocations: 165.2 kB / 0.5614 GB, free: 3.562 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.5278, allocations: 325.7 kB / 0.5617 GB, free: 3.242 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001693/0.5295, allocations: 0.8292 MB / 0.5625 GB, free: 2.371 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.441e-05/0.5296, allocations: 86.27 kB / 0.5626 GB, free: 2.285 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/0.5298, allocations: 119.9 kB / 0.5627 GB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/0.5323, allocations: 1.612 MB / 0.5643 GB, free: 0.5117 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.5323, allocations: 4 kB / 0.5643 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.019e-05/0.5324, allocations: 44 kB / 0.5643 GB, free: 476 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.5324, allocations: 28 kB / 0.5643 GB, free: 448 kB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/0.5351, allocations: 2.09 MB / 0.5664 GB, free: 14.34 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.007364/0.5425, allocations: 5.123 MB / 0.5714 GB, free: 8.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/0.5445, allocations: 1.591 MB / 0.5729 GB, free: 7.379 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008084/0.5453, allocations: 0.6643 MB / 0.5736 GB, free: 6.711 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003439/0.5457, allocations: 240.5 kB / 0.5738 GB, free: 6.477 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.5457, allocations: 47.27 kB / 0.5739 GB, free: 6.422 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 2.375e-06/0.5457, allocations: 0 / 0.5739 GB, free: 6.422 MB / 442.7 MB Notification: Performance of matching and sorting (n=122): time 0.00871/0.5545, allocations: 4.638 MB / 0.5784 GB, free: 1.723 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.5545, allocations: 64.41 kB / 0.5784 GB, free: 1.648 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006977/0.5552, allocations: 0.6131 MB / 0.579 GB, free: 1.027 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.877e-05/0.5553, allocations: 45.7 kB / 0.5791 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.5556, allocations: 0.5039 MB / 0.5796 GB, free: 476 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.5559, allocations: 410 kB / 0.58 GB, free: 60 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.697e-05/0.5559, allocations: 28 kB / 0.58 GB, free: 32 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.3152/0.8711, allocations: 350.2 kB / 0.5803 GB, free: 104.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.8729, allocations: 0.5932 MB / 0.5809 GB, free: 104.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.8742, allocations: 0.7652 MB / 0.5817 GB, free: 104.2 MB / 442.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: gas.temperature = gas.temperature_start (solid.temperature_start = gas.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0169/0.8911, allocations: 3.636 MB / 0.5852 GB, free: 104 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.8912, allocations: 1.062 kB / 0.5852 GB, free: 104 MB / 442.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.004375/0.8956, allocations: 1.747 MB / 0.5869 GB, free: 103.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/0.8956, allocations: 7.344 kB / 0.5869 GB, free: 103.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.8957, allocations: 4.719 kB / 0.5869 GB, free: 103.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008472/0.8965, allocations: 214.5 kB / 0.5871 GB, free: 103.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.898, allocations: 241.2 kB / 0.5874 GB, free: 103.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/0.9009, allocations: 2.884 MB / 0.5902 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.9022, allocations: 64.3 kB / 0.5902 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.9024, allocations: 48.06 kB / 0.5903 GB, free: 101.6 MB / 442.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: gas.temperature = gas.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003075/0.9027, allocations: 167.4 kB / 0.5904 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003235/0.9031, allocations: 96.69 kB / 0.5905 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004934/0.908, allocations: 1.846 MB / 0.5923 GB, free: 101.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.961e-05/0.9081, allocations: 14.39 kB / 0.5924 GB, free: 101.4 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.971e-05/0.9081, allocations: 5.062 kB / 0.5924 GB, free: 101.4 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-05/0.9081, allocations: 6.047 kB / 0.5924 GB, free: 101.4 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009178/0.9173, allocations: 3.864 MB / 0.5961 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/0.9174, allocations: 4 kB / 0.5961 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.9186, allocations: 217.1 kB / 0.5963 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000878/0.9195, allocations: 211.9 kB / 0.5966 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/0.9197, allocations: 33.95 kB / 0.5966 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002867/0.9226, allocations: 2.883 MB / 0.5994 GB, free: 98.56 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/0.9226, allocations: 5.344 kB / 0.5994 GB, free: 98.56 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006267/0.9289, allocations: 2.972 MB / 0.6023 GB, free: 97.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005418/0.9295, allocations: 171.7 kB / 0.6025 GB, free: 97.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003367/0.9298, allocations: 31.52 kB / 0.6025 GB, free: 97.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.931, allocations: 55.44 kB / 0.6026 GB, free: 97.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000309/0.9313, allocations: 98.45 kB / 0.6026 GB, free: 97.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/0.9314, allocations: 41.73 kB / 0.6027 GB, free: 97.74 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001239/0.9327, allocations: 491.7 kB / 0.6032 GB, free: 97.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.9327, allocations: 0 / 0.6032 GB, free: 97.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002694/0.9354, allocations: 0.5459 MB / 0.6037 GB, free: 97.64 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (H2O_gaseuous.logn,otherSubstances.logn,solid.temperature,H2O_solid.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008084/0.9435, allocations: 5.112 MB / 0.6087 GB, free: 95.28 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003835/0.9474, allocations: 1.612 MB / 0.6103 GB, free: 94.63 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.9474, allocations: 1.094 kB / 0.6103 GB, free: 94.63 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002014/0.9494, allocations: 0.9343 MB / 0.6112 GB, free: 94.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/0.9518, allocations: 320.2 kB / 0.6115 GB, free: 94.15 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006088/0.9579, allocations: 2.217 MB / 0.6136 GB, free: 93.11 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/0.959, allocations: 1.125 MB / 0.6147 GB, free: 92.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001204/0.9602, allocations: 179.4 kB / 0.6149 GB, free: 92.38 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008537/0.961, allocations: 484.6 kB / 0.6154 GB, free: 92.02 MB / 442.7 MB Notification: Performance of SimCode: time 1.322e-06/0.9611, allocations: 0 / 0.6154 GB, free: 92.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0768/1.038, allocations: 31.39 MB / 0.646 GB, free: 84.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/1.038, allocations: 157.1 kB / 0.6462 GB, free: 83.98 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.051/4.089, allocations: 4 kB / 0.6462 GB, free: 83.98 MB / 442.7 MB (rm -f Chemical_Chemical.Examples.WaterSublimation.pipe ; mkfifo Chemical_Chemical.Examples.WaterSublimation.pipe ; head -c 1048576 < Chemical_Chemical.Examples.WaterSublimation.pipe >> ../files/Chemical_Chemical.Examples.WaterSublimation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_WaterSublimation_fmu --startTime=0 --stopTime=49.7 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Examples_WaterSublimation.fmu > Chemical_Chemical.Examples.WaterSublimation.pipe 2>&1)