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/ModelicaServices 4.0.0+maint.om/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/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001072, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 189.9 kB / 16.13 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.207/0.207, allocations: 15.31 MB / 305.3 MB, free: 15.29 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 63.89 kB / 369.8 MB, free: 4.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08557/0.08668, allocations: 53.61 MB / 423.4 MB, free: 14.7 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.WaterSublimation): time 0.3105/0.3972, allocations: 25.8 MB / 449.2 MB, free: 39.28 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009312/0.4065, allocations: 12.27 MB / 461.4 MB, free: 33.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006154/0.4071, allocations: 27.25 kB / 461.5 MB, free: 33.76 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005818/0.4077, allocations: 243.7 kB / 461.7 MB, free: 33.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001774/0.4095, allocations: 0.9336 MB / 462.6 MB, free: 33.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002796/0.4123, allocations: 1.353 MB / 464 MB, free: 32.58 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001025/0.4133, allocations: 1.339 MB / 465.3 MB, free: 32.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006423/0.414, allocations: 0.713 MB / 466 MB, free: 31.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005978/0.4146, allocations: 0.6559 MB / 466.7 MB, free: 31.69 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006196/0.4152, allocations: 0.7095 MB / 467.4 MB, free: 31.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.4154, allocations: 84.09 kB / 467.5 MB, free: 31.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003164/0.4186, allocations: 1.151 MB / 468.6 MB, free: 31.11 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.4188, allocations: 250.6 kB / 468.9 MB, free: 30.97 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005355/0.4193, allocations: 0.6156 MB / 469.5 MB, free: 30.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003527/0.4229, allocations: 2.457 MB / 472 MB, free: 29.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4229, allocations: 4 kB / 472 MB, free: 29.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.4229, allocations: 3.938 kB / 472 MB, free: 29.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.4229, allocations: 0 / 472 MB, free: 29.57 MB / 366.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.00259/0.4255, allocations: 1.618 MB / 473.6 MB, free: 28.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.4256, allocations: 9.625 kB / 473.6 MB, free: 28.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.4257, allocations: 175.1 kB / 473.8 MB, free: 28.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.4268, allocations: 252.7 kB / 474 MB, free: 28.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007522/0.4275, allocations: 0.5976 MB / 474.6 MB, free: 27.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.456e-05/0.4276, allocations: 89.83 kB / 474.7 MB, free: 27.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.4278, allocations: 114.6 kB / 474.8 MB, free: 27.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.4295, allocations: 1.204 MB / 476 MB, free: 27.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.4295, allocations: 0 / 476 MB, free: 27.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.029e-05/0.4296, allocations: 45.5 kB / 476.1 MB, free: 27.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.4296, allocations: 36.31 kB / 476.1 MB, free: 27.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.4315, allocations: 1.328 MB / 477.4 MB, free: 26.89 MB / 366.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.004924/0.4364, allocations: 4.028 MB / 481.4 MB, free: 24.31 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.4378, allocations: 0.9785 MB / 482.4 MB, free: 23.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005336/0.4383, allocations: 386.5 kB / 482.8 MB, free: 23.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004494/0.4428, allocations: 3.986 MB / 486.8 MB, free: 20.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.4429, allocations: 38.09 kB / 486.8 MB, free: 20.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.625e-06/0.4429, allocations: 1.188 kB / 486.8 MB, free: 20.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.004719/0.4476, allocations: 2.093 MB / 488.9 MB, free: 19.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.4476, allocations: 64.77 kB / 489 MB, free: 19.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/0.4482, allocations: 0.519 MB / 489.5 MB, free: 19.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.4483, allocations: 44.45 kB / 489.5 MB, free: 19.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002497/0.4485, allocations: 0.5306 MB / 490.1 MB, free: 18.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.4487, allocations: 267.6 kB / 490.3 MB, free: 18.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/0.4489, allocations: 189.5 kB / 490.5 MB, free: 18.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.449, allocations: 378.1 kB / 490.9 MB, free: 18.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.4494, allocations: 229.1 kB / 491.1 MB, free: 17.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/0.4499, allocations: 0.5499 MB / 491.7 MB, free: 17.45 MB / 366.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.005741/0.4557, allocations: 2.124 MB / 493.8 MB, free: 16.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4557, allocations: 3.938 kB / 493.8 MB, free: 16.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001399/0.4571, allocations: 0.959 MB / 494.8 MB, free: 16.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.4571, allocations: 10.66 kB / 494.8 MB, free: 16.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.4572, allocations: 10.44 kB / 494.8 MB, free: 16.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00022/0.4574, allocations: 74.44 kB / 494.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/0.458, allocations: 236.6 kB / 495.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.4591, allocations: 1.61 MB / 496.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005778/0.4597, allocations: 68.62 kB / 496.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.678e-05/0.4598, allocations: 53.67 kB / 496.8 MB, free: 14.45 MB / 366.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.0003404/0.4601, allocations: 252.6 kB / 497.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.391e-05/0.4602, allocations: 71.84 kB / 497.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.4618, allocations: 0.8422 MB / 498 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.4618, allocations: 7.25 kB / 498 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4618, allocations: 0.75 kB / 498 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.4618, allocations: 7.5 kB / 498 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002276/0.4641, allocations: 1.75 MB / 499.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.371e-06/0.4641, allocations: 4.922 kB / 499.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005832/0.4647, allocations: 182 kB / 499.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001819/0.4649, allocations: 67.45 kB / 500 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.553e-05/0.465, allocations: 32.48 kB / 0.4883 GB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.466, allocations: 1.59 MB / 0.4898 GB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.466, allocations: 0.8906 kB / 0.4898 GB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.4675, allocations: 1.173 MB / 0.491 GB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.4676, allocations: 152.9 kB / 0.4911 GB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.62e-05/0.4677, allocations: 19.98 kB / 0.4912 GB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.4681, allocations: 35.19 kB / 0.4912 GB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.4682, allocations: 74.52 kB / 0.4913 GB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.145e-05/0.4683, allocations: 43.89 kB / 0.4913 GB, free: 10.51 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003307/0.4686, allocations: 344.9 kB / 0.4916 GB, free: 10.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4686, allocations: 0 / 0.4916 GB, free: 10.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001373/0.47, allocations: 449.4 kB / 0.4921 GB, free: 10.25 MB / 366.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.002284/0.4723, allocations: 2.14 MB / 0.4941 GB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.4733, allocations: 0.8111 MB / 0.4949 GB, free: 8.566 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4734, allocations: 4.062 kB / 0.4949 GB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.4739, allocations: 477.2 kB / 0.4954 GB, free: 8.328 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008303/0.4747, allocations: 167.3 kB / 0.4956 GB, free: 8.258 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007413/0.4821, allocations: 7.385 MB / 0.5028 GB, free: 1.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.4825, allocations: 1.017 MB / 0.5038 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007223/0.4833, allocations: 197.7 kB / 0.504 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/0.4837, allocations: 444 kB / 0.5044 GB, free: 352 kB / 366.1 MB Notification: Performance of SimCode: time 4.5e-07/0.4837, allocations: 0 / 0.5044 GB, free: 352 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03379/0.5175, allocations: 21.38 MB / 0.5253 GB, free: 12.08 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003409/0.5179, allocations: 192.8 kB / 0.5254 GB, free: 11.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.166/2.684, allocations: 0 / 0.5254 GB, free: 11.82 MB / 398.1 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/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)