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.001297/0.001297, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.0015/0.0015, allocations: 217.6 kB / 22.25 MB, free: 5.125 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.404/1.404, allocations: 230.6 MB / 256 MB, free: 7.961 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.1366/0.1366, allocations: 23.89 MB / 336.3 MB, free: 11.15 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.002127/0.002127, allocations: 67.89 kB / 471.2 MB, free: 7.641 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3146, allocations: 59.87 MB / 0.5186 GB, free: 9.594 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.03854/0.3531, allocations: 26.68 MB / 0.5447 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01649/0.3696, allocations: 12.42 MB / 0.5568 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009855/0.3706, allocations: 19.81 kB / 0.5569 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008085/0.3714, allocations: 278.7 kB / 0.5571 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003052/0.3745, allocations: 1.061 MB / 0.5582 GB, free: 492 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004401/0.3789, allocations: 1.579 MB / 0.5597 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0022/0.3811, allocations: 1.423 MB / 0.5611 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009772/0.382, allocations: 0.6895 MB / 0.5618 GB, free: 13.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008747/0.3829, allocations: 0.6878 MB / 0.5624 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.384, allocations: 0.7341 MB / 0.5631 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.3842, allocations: 128 kB / 0.5633 GB, free: 11.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004053/0.3883, allocations: 1.202 MB / 0.5644 GB, free: 10.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003305/0.3886, allocations: 292.5 kB / 0.5647 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007349/0.3893, allocations: 0.6482 MB / 0.5654 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005691/0.395, allocations: 2.716 MB / 0.568 GB, free: 7.496 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.395, allocations: 0 / 0.568 GB, free: 7.496 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.395, allocations: 0 / 0.568 GB, free: 7.496 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.395, allocations: 0 / 0.568 GB, free: 7.496 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.002868/0.3979, allocations: 1.579 MB / 0.5695 GB, free: 5.879 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3979, allocations: 12.03 kB / 0.5696 GB, free: 5.867 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001974/0.3981, allocations: 173.3 kB / 0.5697 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.3992, allocations: 263.6 kB / 0.57 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009842/0.4002, allocations: 0.5581 MB / 0.5705 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.331e-05/0.4002, allocations: 82.64 kB / 0.5706 GB, free: 4.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.4004, allocations: 124.3 kB / 0.5707 GB, free: 4.645 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.4023, allocations: 1.198 MB / 0.5719 GB, free: 3.402 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.4023, allocations: 0 / 0.5719 GB, free: 3.402 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.753e-05/0.4024, allocations: 44 kB / 0.5719 GB, free: 3.359 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.4025, allocations: 28 kB / 0.572 GB, free: 3.332 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002153/0.4046, allocations: 1.336 MB / 0.5733 GB, free: 1.988 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.006002/0.4106, allocations: 3.969 MB / 0.5771 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.4121, allocations: 0.8949 MB / 0.578 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000568/0.4127, allocations: 339.7 kB / 0.5783 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004362/0.417, allocations: 2.122 MB / 0.5804 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.4171, allocations: 39.06 kB / 0.5804 GB, free: 10.35 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.144e-06/0.4171, allocations: 0 / 0.5804 GB, free: 10.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.004677/0.4217, allocations: 2.037 MB / 0.5824 GB, free: 8.281 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.4218, allocations: 67.94 kB / 0.5825 GB, free: 8.203 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006224/0.4224, allocations: 0.5225 MB / 0.583 GB, free: 7.668 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/0.4225, allocations: 37.7 kB / 0.583 GB, free: 7.625 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003906/0.4229, allocations: 0.5505 MB / 0.5836 GB, free: 7.066 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.4231, allocations: 273.7 kB / 0.5838 GB, free: 6.797 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.4233, allocations: 190.9 kB / 0.584 GB, free: 6.605 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001979/0.4235, allocations: 382.8 kB / 0.5844 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/0.424, allocations: 230.1 kB / 0.5846 GB, free: 6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006922/0.4247, allocations: 0.5486 MB / 0.5851 GB, free: 5.309 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.006212/0.4309, allocations: 2.046 MB / 0.5871 GB, free: 3.117 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.4309, allocations: 4 kB / 0.5871 GB, free: 3.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001759/0.4326, allocations: 0.9619 MB / 0.5881 GB, free: 2.141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.4327, allocations: 8 kB / 0.5881 GB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.4327, allocations: 12.88 kB / 0.5881 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002539/0.4329, allocations: 80.81 kB / 0.5882 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007013/0.4336, allocations: 235.6 kB / 0.5884 GB, free: 1.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.4355, allocations: 1.623 MB / 0.59 GB, free: 72 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004732/0.4359, allocations: 28 kB / 0.59 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.436, allocations: 56.03 kB / 0.5901 GB, free: 15.98 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.0004654/0.4365, allocations: 259.4 kB / 0.5903 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.4366, allocations: 79.53 kB / 0.5904 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.4384, allocations: 0.8418 MB / 0.5912 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.4384, allocations: 8 kB / 0.5912 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4384, allocations: 4 kB / 0.5912 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.4384, allocations: 11.92 kB / 0.5912 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002747/0.4412, allocations: 1.726 MB / 0.5929 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.4412, allocations: 4 kB / 0.5929 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006517/0.4418, allocations: 184.1 kB / 0.5931 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001938/0.442, allocations: 68.7 kB / 0.5932 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-05/0.4421, allocations: 31.98 kB / 0.5932 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/0.4437, allocations: 1.601 MB / 0.5948 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.4437, allocations: 8.016 kB / 0.5948 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.4456, allocations: 1.186 MB / 0.5959 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.4457, allocations: 71.52 kB / 0.596 GB, free: 9.645 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-05/0.4458, allocations: 20 kB / 0.596 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.4461, allocations: 23.98 kB / 0.596 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.4462, allocations: 72.42 kB / 0.5961 GB, free: 9.531 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/0.4463, allocations: 43.98 kB / 0.5962 GB, free: 9.488 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004286/0.4467, allocations: 346.8 kB / 0.5965 GB, free: 9.152 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4467, allocations: 0 / 0.5965 GB, free: 9.152 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0013/0.448, allocations: 462.8 kB / 0.5969 GB, free: 8.699 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.003065/0.4511, allocations: 2.127 MB / 0.599 GB, free: 6.504 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.4525, allocations: 0.7809 MB / 0.5998 GB, free: 5.711 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4525, allocations: 0 / 0.5998 GB, free: 5.711 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006395/0.4532, allocations: 447.9 kB / 0.6002 GB, free: 5.262 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008738/0.454, allocations: 193.4 kB / 0.6004 GB, free: 5.074 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.4641, allocations: 6.754 MB / 0.607 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007537/0.4649, allocations: 1.013 MB / 0.608 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006395/0.4655, allocations: 198.1 kB / 0.6082 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006089/0.4661, allocations: 447.2 kB / 0.6086 GB, free: 12.21 MB / 462.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4661, allocations: 0 / 0.6086 GB, free: 12.21 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06588/0.532, allocations: 23.34 MB / 0.6314 GB, free: 5.031 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14, allocations: 1.688 kB / 0.6314 GB, free: 5.031 MB / 478.1 MB " [Timeout remaining time 646] (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: 16.701850034995005] Failed to read output from testmodel.py, exit status != 0: 14.121516547165811 14.137006967 13.738870335 Calling exit ...