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.001947/0.001947, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.003062/0.003062, allocations: 219.2 kB / 22.25 MB, free: 5.258 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.548/1.548, allocations: 230.6 MB / 256 MB, free: 7.793 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.1403/0.1403, allocations: 23.88 MB / 336.3 MB, free: 10.94 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.002015/0.002015, allocations: 63.91 kB / 471.1 MB, free: 7.488 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3703, allocations: 59.86 MB / 0.5185 GB, free: 9.5 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.07531/0.4456, allocations: 26.08 MB / 0.544 GB, free: 13.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01786/0.4635, allocations: 10.92 MB / 0.5547 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/0.4652, allocations: 19.88 kB / 0.5547 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009783/0.4661, allocations: 262.5 kB / 0.5549 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004008/0.4701, allocations: 1.04 MB / 0.5559 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005451/0.4756, allocations: 1.576 MB / 0.5575 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.4782, allocations: 1.419 MB / 0.5589 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.4793, allocations: 0.6952 MB / 0.5596 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009571/0.4803, allocations: 0.6962 MB / 0.5602 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.4814, allocations: 0.7305 MB / 0.5609 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.4816, allocations: 132 kB / 0.5611 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003875/0.4855, allocations: 1.154 MB / 0.5622 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003953/0.4859, allocations: 291.9 kB / 0.5625 GB, free: 12.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007484/0.4866, allocations: 0.5478 MB / 0.563 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007666/0.4943, allocations: 2.713 MB / 0.5657 GB, free: 9.617 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.4943, allocations: 0 / 0.5657 GB, free: 9.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.105e-06/0.4943, allocations: 0 / 0.5657 GB, free: 9.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.4943, allocations: 0 / 0.5657 GB, free: 9.617 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.003939/0.4983, allocations: 1.579 MB / 0.5672 GB, free: 8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.461e-05/0.4983, allocations: 16.02 kB / 0.5672 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002489/0.4986, allocations: 169.3 kB / 0.5674 GB, free: 7.809 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.4999, allocations: 263.9 kB / 0.5676 GB, free: 7.551 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.5011, allocations: 0.562 MB / 0.5682 GB, free: 6.965 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.519e-05/0.5012, allocations: 82.64 kB / 0.5683 GB, free: 6.883 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/0.5015, allocations: 116.3 kB / 0.5684 GB, free: 6.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002276/0.5037, allocations: 1.202 MB / 0.5695 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.5038, allocations: 4 kB / 0.5695 GB, free: 5.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.5039, allocations: 44 kB / 0.5696 GB, free: 5.477 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.5039, allocations: 28 kB / 0.5696 GB, free: 5.449 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.5063, allocations: 1.324 MB / 0.5709 GB, free: 4.117 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.005828/0.5121, allocations: 3.066 MB / 0.5739 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001536/0.5137, allocations: 0.9052 MB / 0.5748 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005912/0.5143, allocations: 347.7 kB / 0.5751 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00468/0.519, allocations: 2.009 MB / 0.5771 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.519, allocations: 43 kB / 0.5771 GB, free: 13.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.174e-06/0.519, allocations: 0 / 0.5771 GB, free: 13.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.005125/0.5241, allocations: 2.037 MB / 0.5791 GB, free: 11.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.5242, allocations: 64 kB / 0.5792 GB, free: 11.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007084/0.5249, allocations: 0.5418 MB / 0.5797 GB, free: 10.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.549e-05/0.5249, allocations: 45.7 kB / 0.5797 GB, free: 10.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004143/0.5253, allocations: 0.5466 MB / 0.5803 GB, free: 10.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.5256, allocations: 269.7 kB / 0.5805 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002666/0.5258, allocations: 194.9 kB / 0.5807 GB, free: 9.859 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.526, allocations: 378.8 kB / 0.5811 GB, free: 9.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004519/0.5265, allocations: 230.2 kB / 0.5813 GB, free: 9.258 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007363/0.5272, allocations: 0.5369 MB / 0.5818 GB, free: 8.578 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.007066/0.5343, allocations: 2.05 MB / 0.5838 GB, free: 6.383 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.5343, allocations: 4 kB / 0.5838 GB, free: 6.379 MB / 430.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001822/0.5361, allocations: 0.9625 MB / 0.5848 GB, free: 5.406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.5362, allocations: 8 kB / 0.5848 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.5362, allocations: 16.12 kB / 0.5848 GB, free: 5.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002719/0.5364, allocations: 80.73 kB / 0.5849 GB, free: 5.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007649/0.5372, allocations: 239.6 kB / 0.5851 GB, free: 5.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.539, allocations: 1.608 MB / 0.5867 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/0.5396, allocations: 28.06 kB / 0.5867 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.5397, allocations: 67.98 kB / 0.5868 GB, free: 3.25 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.0004773/0.5402, allocations: 246 kB / 0.587 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.5403, allocations: 75.47 kB / 0.5871 GB, free: 2.926 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/0.5422, allocations: 0.8457 MB / 0.5879 GB, free: 2.066 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.5422, allocations: 8 kB / 0.5879 GB, free: 2.059 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.5422, allocations: 4 kB / 0.5879 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.317e-06/0.5423, allocations: 3.984 kB / 0.5879 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/0.5452, allocations: 1.598 MB / 0.5895 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.5452, allocations: 7.938 kB / 0.5895 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007121/0.5459, allocations: 183.8 kB / 0.5897 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002241/0.5461, allocations: 65.08 kB / 0.5897 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.005e-05/0.5462, allocations: 35.98 kB / 0.5897 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.5479, allocations: 1.597 MB / 0.5913 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.5479, allocations: 0 / 0.5913 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.5499, allocations: 1.186 MB / 0.5925 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.5501, allocations: 75.52 kB / 0.5925 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.5502, allocations: 20 kB / 0.5926 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.5505, allocations: 20.08 kB / 0.5926 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.5507, allocations: 80.41 kB / 0.5927 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.735e-05/0.5507, allocations: 35.98 kB / 0.5927 GB, free: 12.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004434/0.5512, allocations: 350.8 kB / 0.593 GB, free: 12.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5512, allocations: 0 / 0.593 GB, free: 12.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00138/0.5526, allocations: 451 kB / 0.5935 GB, free: 12.13 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.003355/0.5559, allocations: 2.143 MB / 0.5955 GB, free: 9.922 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.5575, allocations: 0.7804 MB / 0.5963 GB, free: 9.129 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.5575, allocations: 1.625 kB / 0.5963 GB, free: 9.129 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006646/0.5582, allocations: 450.8 kB / 0.5967 GB, free: 8.676 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009242/0.5591, allocations: 176.9 kB / 0.5969 GB, free: 8.504 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.5695, allocations: 6.758 MB / 0.6035 GB, free: 1.309 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004815/0.5699, allocations: 421.7 kB / 0.6039 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007111/0.5707, allocations: 206.2 kB / 0.6041 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006245/0.5713, allocations: 443.2 kB / 0.6045 GB, free: 232 kB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5713, allocations: 0 / 0.6045 GB, free: 232 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06568/0.637, allocations: 24.14 MB / 0.6281 GB, free: 8.332 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.9, allocations: 9.625 kB / 0.6281 GB, free: 8.328 MB / 478.1 MB " [Timeout remaining time 647] (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: 15.808092788996873] Failed to read output from testmodel.py, exit status != 0: 13.048303930001566 13.066780287 12.568914239 Calling exit ...