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.001691/0.001691, allocations: 110.3 kB / 18.94 MB, free: 2.789 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.001902/0.001902, allocations: 221.4 kB / 22.26 MB, free: 5.215 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 8.004 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.1429/0.1429, allocations: 23.84 MB / 336.3 MB, free: 11.19 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterSublimation,fileNamePrefix="Chemical_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.002299/0.002299, allocations: 71.89 kB / 471.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3941, allocations: 59.86 MB / 0.5186 GB, free: 9.57 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.04565/0.4398, allocations: 26.68 MB / 0.5446 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01977/0.4595, allocations: 12.41 MB / 0.5567 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.4609, allocations: 23.81 kB / 0.5568 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.462, allocations: 286.6 kB / 0.557 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004773/0.4668, allocations: 1.06 MB / 0.5581 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006615/0.4734, allocations: 1.584 MB / 0.5596 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003527/0.4769, allocations: 1.414 MB / 0.561 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.4788, allocations: 0.7008 MB / 0.5617 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.4806, allocations: 0.6806 MB / 0.5624 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002073/0.4827, allocations: 0.7344 MB / 0.5631 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002728/0.4829, allocations: 124 kB / 0.5632 GB, free: 12.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00622/0.4892, allocations: 1.206 MB / 0.5644 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000554/0.4897, allocations: 292.2 kB / 0.5646 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00188/0.4916, allocations: 0.6522 MB / 0.5653 GB, free: 10.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009399/0.501, allocations: 2.716 MB / 0.5679 GB, free: 7.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.501, allocations: 0 / 0.5679 GB, free: 7.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.501, allocations: 0 / 0.5679 GB, free: 7.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001056/0.5011, allocations: 4 kB / 0.5679 GB, free: 7.566 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.00419/0.5053, allocations: 1.582 MB / 0.5695 GB, free: 5.949 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.5053, allocations: 8.031 kB / 0.5695 GB, free: 5.941 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002081/0.5056, allocations: 169.3 kB / 0.5697 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.5068, allocations: 267.9 kB / 0.5699 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.508, allocations: 0.5581 MB / 0.5705 GB, free: 4.922 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.499e-05/0.5081, allocations: 86.64 kB / 0.5705 GB, free: 4.836 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.5083, allocations: 120.3 kB / 0.5707 GB, free: 4.719 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.5105, allocations: 1.198 MB / 0.5718 GB, free: 3.477 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.5105, allocations: 0 / 0.5718 GB, free: 3.477 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.825e-05/0.5106, allocations: 44 kB / 0.5719 GB, free: 3.434 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.5106, allocations: 28 kB / 0.5719 GB, free: 3.406 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/0.5128, allocations: 1.344 MB / 0.5732 GB, free: 2.055 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.00664/0.5195, allocations: 3.957 MB / 0.5771 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.5211, allocations: 0.8985 MB / 0.5779 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/0.5216, allocations: 339.7 kB / 0.5783 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005049/0.5267, allocations: 2.122 MB / 0.5803 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.5267, allocations: 39.06 kB / 0.5804 GB, free: 10.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.675e-06/0.5267, allocations: 0 / 0.5804 GB, free: 10.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005351/0.5321, allocations: 2.048 MB / 0.5824 GB, free: 8.344 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.5322, allocations: 64 kB / 0.5824 GB, free: 8.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007949/0.5329, allocations: 0.5186 MB / 0.5829 GB, free: 7.738 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.083e-05/0.533, allocations: 37.7 kB / 0.583 GB, free: 7.695 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004665/0.5335, allocations: 0.5466 MB / 0.5835 GB, free: 7.141 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/0.5338, allocations: 273.7 kB / 0.5838 GB, free: 6.871 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/0.5341, allocations: 194.8 kB / 0.584 GB, free: 6.676 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002341/0.5343, allocations: 382.8 kB / 0.5843 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/0.5348, allocations: 230.2 kB / 0.5845 GB, free: 6.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007672/0.5356, allocations: 0.5486 MB / 0.5851 GB, free: 5.379 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.006968/0.5425, allocations: 2.043 MB / 0.5871 GB, free: 3.191 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/0.5425, allocations: 4 kB / 0.5871 GB, free: 3.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001928/0.5445, allocations: 0.9547 MB / 0.588 GB, free: 2.223 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.5445, allocations: 16.25 kB / 0.588 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.5445, allocations: 8 kB / 0.588 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003212/0.5448, allocations: 76.81 kB / 0.5881 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007908/0.5456, allocations: 235.6 kB / 0.5883 GB, free: 1.891 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/0.5477, allocations: 1.627 MB / 0.5899 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006757/0.5484, allocations: 32 kB / 0.59 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.5485, allocations: 55.98 kB / 0.59 GB, free: 64 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.0006275/0.5491, allocations: 257.5 kB / 0.5903 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.5493, allocations: 79.47 kB / 0.5903 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001905/0.5513, allocations: 0.8418 MB / 0.5912 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.5513, allocations: 8 kB / 0.5912 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5513, allocations: 0 / 0.5912 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.5513, allocations: 3.984 kB / 0.5912 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003384/0.5547, allocations: 1.738 MB / 0.5929 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.5547, allocations: 4 kB / 0.5929 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007389/0.5554, allocations: 179.8 kB / 0.593 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002236/0.5556, allocations: 68.7 kB / 0.5931 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.658e-05/0.5557, allocations: 27.98 kB / 0.5931 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.5575, allocations: 1.608 MB / 0.5947 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.5575, allocations: 4 kB / 0.5947 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/0.5596, allocations: 1.183 MB / 0.5959 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.5598, allocations: 75.52 kB / 0.5959 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.56, allocations: 16 kB / 0.5959 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/0.5603, allocations: 23.98 kB / 0.596 GB, free: 9.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.5605, allocations: 76.48 kB / 0.596 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.218e-05/0.5606, allocations: 39.98 kB / 0.5961 GB, free: 9.566 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004823/0.5611, allocations: 350.8 kB / 0.5964 GB, free: 9.227 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5611, allocations: 0 / 0.5964 GB, free: 9.227 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00163/0.5627, allocations: 462.9 kB / 0.5969 GB, free: 8.773 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.003569/0.5663, allocations: 2.131 MB / 0.5989 GB, free: 6.574 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.568, allocations: 0.7778 MB / 0.5997 GB, free: 5.785 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.568, allocations: 4 kB / 0.5997 GB, free: 5.781 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007692/0.5687, allocations: 446.6 kB / 0.6001 GB, free: 5.332 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.5698, allocations: 186.4 kB / 0.6003 GB, free: 5.148 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.5817, allocations: 6.758 MB / 0.6069 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009395/0.5826, allocations: 1.013 MB / 0.6079 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000764/0.5834, allocations: 198.1 kB / 0.6081 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007622/0.5841, allocations: 447.2 kB / 0.6085 GB, free: 12.27 MB / 462.1 MB Notification: Performance of SimCode: time 1.393e-06/0.5841, allocations: 0 / 0.6085 GB, free: 12.27 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07354/0.6577, allocations: 23.33 MB / 0.6313 GB, free: 5.105 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.11/14.77, allocations: 8 kB / 0.6313 GB, free: 5.098 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.606935997027904] Failed to read output from testmodel.py, exit status != 0: 14.891629849094898 14.917185994 14.411359344 Calling exit ...